private void Application_NewMailEx(string EntryIDCollection) { MWMailItem item = new MWMailItem(NS.GetItemFromID(EntryIDCollection) as MailItem); // if item received was a mail (it could be a meeting invitation of something else) if (item != null) { Utils.Debug($"New mail received.\n{item}"); this.MWContoller.HandleExistingMail(item); } }