title: apps script : xls attach in gmail to google spreadsheet
body: <p>I try open a xls with app script.<br />
  I can get the content type of file with:</p>
  <pre><code>    var attach = messages[j].getAttachments()[0];
      var name = attach.getName();
      var type = attach.getContentType();
  </code></pre>
  <p>And I get:</p>
  <pre><code>application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
  </code></pre>
  <p>but, How I can read the information in the cells ?</p>
  <h3> EDIT</h3>
  <p>If I use</p>
  <pre><code>DocsList.createFile(attach);
  </code></pre>
  <p>the <code>attach</code> is added in google Docs list.</p>