ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2007_SP1);
service.Credentials = new NetworkCredential(user, password, domain);
service.Url = new Uri("https://domain/EWS/Exchange.asmx");
Mailbox mb = new Mailbox(email_to_access);
FolderId fid1 = new FolderId(WellKnownFolderName.Inbox, mb);
//reads the emails
FindItemsResults <Item>
foreach (Item item in findResults.Items)
{
item.Load();
EmailMessage m = (EmailMessage)item;
if (!m.IsRead)
{
//Colocar como lida.
m.IsRead = true;
m.Update(ConflictResolutionMode.AutoResolve);
}
}