private void Items_ItemAdd(object Item)
        {
            var mail = (MailItem)Item;

            if (Item == null)
            {
                return;
            }
            if (mail.MessageClass != "IPM.Note")
            {
                return;
            }
            var    eventAgrs = new NewEnailEventArgs(mail);
            string ad        = ExtractAd(mail.Body);

            if (ad != string.Empty)
            {
                eventAgrs.ContainAd = true;
                eventAgrs.Ad        = ad;
            }
            OnIncommingEmail(eventAgrs);
            //raise event
        }
 protected virtual void OnIncommingEmail(NewEnailEventArgs e)
 {
     IncommingEmail?.Invoke(this, e);
 }