title: GMAIL API for sending Email with attachment
body: <p>i' m working on a javascript client able to read a CSV which contains an image url list.</p>
  
  <p>I m able to read the csv by the means of jquery-csv and to draw each image in a html5 canvas.</p>
  
  <p>The next step is to apply to each image a text layer and to send the image by email using gmail api.</p>
  
  <p>So my diffifulty is to find an example showing me how to take a canvas and to attach it to an email using only javascript.</p>
  
  <p>Do have i to build a json according to the multipart gmail guidelines and to send it as POST body as specified?</p>
  
  <p>Can you send me some example? </p>