private EmailMessage GetMessageInfo(string itemId, string email) { var service = ExchangeHelper.CreateConnection(email); if (service == null) { return(null); } var item = ExchangeHelper.GetItem(service, itemId); var message = EmailMessage.Bind(service, item.Id, new PropertySet(BasePropertySet.FirstClassProperties, ItemSchema.Body, ItemSchema.Attachments, ItemSchema.MimeContent)); return(message); }