title: How to access specific email from EWS exchange server
body: <p>I am trying to get a specific email from from EWS using C# but could not find a way to identify a specific email.</p>
  
  <pre><code>ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013_SP1);
              service.Credentials = new WebCredentials(myemail, password);
              service.UseDefaultCredentials = false;
              service.Url = new Uri("https://outlook.office365.com/EWS/Exchange.asmx");
              ItemView itemsView = new ItemView(5);
              string querystring = "Kind:email";                
  
              FindItemsResults&lt;Item&gt; itemResults = service.FindItems(WellKnownFolderName.Inbox, querystring, view: itemsView);
  </code></pre>
  
  <p>The FindItems method gives emails based on query string. I save <code>EmailMessage.InternetMessageId</code> and <code>EmailMessage.Id</code> and subject etc details in my database. In my case I may have emails with same subject and little different body content. </p>
  
  <p>Later, based on user action I want to get specific email from exchange server. Is there any method I can use and get email based on <code>EmailMessage.InternetMessageId</code> or <code>EmailMessage.Id</code> ? Are these Ids reliable? I could not find a method in docs. Currently I am thinking of read emails based on subject and then filter the results based on <code>EmailMessage.Id.UniqueId</code> </p>
  
  <p>Is there any good alternate way to get specific email from exchange server?</p>