public static NotificationMessage GetLastMessageTo(string email) { System.Threading.Thread.Sleep(50); //sending messages is async, make sure bkgr thread done its job return(NotificationListener.GetLastMessageTo(email)); }