How to have a known name as From using Gmail API
<p>When sending with the GMail API, my email source contains something like that:</p>

<pre><code>Received: from 13936824666 named unknown by gmailapi.google.com with HTTPREST;
</code></pre>

<p>How to have a known name displayed instead of unknown?</p>

<p><strong>EDIT</strong>: The from name/email display properly in the rendering of the email, that's not the question.</p>

<p>It's what's in the source that's annoying.</p>

<p>Check an email sent using the normal SMTP of Gmail:</p>

<pre><code>Received: from localhost:3000 (47.150.198.178.dynamic.wline.res.cust.swisscom.ch [178.198.150.47])
by ismtpd0003p1lon1.sendgrid.net (SG) with ESMTP id PWjjmKwxTeS34YOHk6LJJQ
Mon, 30 May 2016 12:51:24.673 +0000 (UTC)
</code></pre>

<p>From a 3rd party sender (SendGrid)</p>

<pre><code>Received: from gmail.com (47.150.198.178.dynamic.wline.res.cust.swisscom.ch. [178.198.150.47])
    by smtp.gmail.com with ESMTPSA id v125sm11247946wmv.17.2016.05.30.05.55.56
    (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
    Mon, 30 May 2016 05:55:56 -0700 (PDT)
</code></pre>

<p>And now through Gmail <strong>API</strong></p>

<pre><code>Received: from 13936824666 named unknown by gmailapi.google.com with HTTPREST;
Mon, 30 May 2016 08:57:04 -0400
</code></pre>