Images not rendering in draft message created using Gmail API
<p>I am creating a draft message in GMail via API and the raw message is (before base64urlencoding):</p>

<pre><code>X-Sender: sender@sender.com.au
X-Receiver: receiver@receiver.com.au
MIME-Version: 1.0
From: sender@sender.com.au
To: receiver@receiver.com.au
Subject: This email is from API
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

&lt;html&gt;
    &lt;style&gt;
        p{margin-top:0px; margin-bottom:0px;}
    &lt;/style&gt;
    &lt;body class="setupTab" style=" background-color:#CCCCCC; bEditID:b1st1; bLabel:body;"&gt;
        &lt;center &gt;
            &lt;table cellpadding="0" width="500" cellspacing="0" id="topTable" height="450" &gt;
                &lt;tr valign="top" &gt;
                    &lt;td style=" background-color:#FFFFFF; bEditID:r1st1; bLabel:header; vertical-align:top; height:100; text-align:left;"&gt;
                        &lt;img border="0" bEditID="r1sp1" bLabel="headerImage" id="r1sp1" src="https://cs31.salesforce.com/servlet/servlet.ImageServer?id=&lt;someid&gt;&amp;oid=&lt;someid&gt;" &gt;&lt;/img&gt;
        .... 
    &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>User is then redirected to <code>https://mail.google.com/mail/u/0/#drafts?compose=&lt;id&gt;</code> to review the email and then send.</p>

<p>However the images, part of the html, are not rendered/displayed. There are some other minor issues with the html rendering too but image is <strong>critical</strong> to have.</p>

<p>Any thoughts?</p>