title: Mark as read mail method
body: <p>How do I mark mail as read using Gmail API?</p>
  
  <p>I got the thread of email</p>
  
  <pre><code>Thread thread = service.users().threads().get(userId, message.getThreadId()).execute();
  </code></pre>
  
  <p>but it does not have method <strong>markRead</strong> like gmail API site says it should.</p>