title: Google Script: how to display GmailApp.search - mail data
body: <p>I'm trying display starred mails in Logger.</p>
  
  <pre><code>function viewStarred() {
    Logger.log( GmailApp.search('is:starred') );
  }
  </code></pre>
  
  <p>but result in my Logger is this:</p>
  
  <blockquote>
    <p>[GmailThread, GmailThread, GmailThread, GmailThread, .... GmailThread]</p>
  </blockquote>
  
  <p>how can I display mail subjects? or content...</p>
  
  <p>Here is my screen:
  <img src="https://i.stack.imgur.com/9ICUU.jpg" alt="here is my logger screen"></p>