title: Microsoft Graph API returns mail message body as HTML
body: <p>I want to read my email messages and transform them into json. I am using <a href="https://developer.microsoft.com/en-us/graph/quick-start" rel="noreferrer">Microsoft Graph API</a> to query the office 365 mail box like this</p>
  
  <pre><code>GraphServiceClient client = new GraphServiceClient(
              new DelegateAuthenticationProvider (
                  (requestMessage) =&gt;
                      {
                          requestMessage.Headers.Authorization =
                                              new AuthenticationHeaderValue("Bearer", token);
                          return Task.FromResult(0);
                      }
                  )
              );
  
  var mailResults = await client.Me.MailFolders.Inbox.Messages.Request()
                                  .OrderBy("receivedDateTime DESC")
                                  .Select(m =&gt; new { m.Subject, m.ReceivedDateTime, m.From, m.Body})
                                  .Top(100)
                                  .GetAsync();
  </code></pre>
  
  <p>I followed <a href="https://docs.microsoft.com/en-us/outlook/rest/dotnet-tutorial#displaying-the-results" rel="noreferrer">this</a> tutorial to get to this stage. But my message body is returned as html instead of text. Is there a way I can specify the message.body to return text or even json instead of HTML?</p>