title: How to send an email on behalf of a Google Group with the GMail API
body: <p>We would like our application to send emails with a google group email in the FROM header.</p>
  
  <p>This is possible in the GMail interface, assuming that the Google Group is correctly configured.</p>
  
  <p>But when we try with the GMail API here's the error we got :</p>
  
  <pre><code>403 Forbidden
  
  cache-control:  private, max-age=0
  content-encoding:  gzip
  content-length:  175
  content-type:  application/json; charset=UTF-8
  date:  Thu, 04 Sep 2014 11:05:36 GMT
  expires:  Thu, 04 Sep 2014 11:05:36 GMT
  server:  GSE
  
  {
   "error": {
    "errors": [
     {
      "domain": "global",
      "reason": "forbidden",
      "message": "XXX.XXXX@XXXXX.XXX does not have privileges to XXX.XXXX@XXXXX.XXX mailbox."
     }
    ],
    "code": 403,
    "message": "XXX.XXXX@XXXXX.XXX does not have privileges to XXX.XXXX@XXXXX.XXX mailbox."
   }
  }
  </code></pre>
  
  <p>Is there a way to circumvent this, either with the GMail API or with App Engine's mail features ?</p>