title: Send HTML email with Gmail 4.2.1
body: <p>It seems that Gmail 4.2.1 may have broken HTML-formatted emails.  The following code worked perfectly prior to 4.2.1.  The email that was sent from Gmail had the desired embedded links, bolded and underlined words.  Unfortunately, after updating to 4.2.1, the email that gets sent appears as if all the HTML formatting has been stripped out.  I am hoping there may be a workaround for this that maybe someone has found?</p>
  
  <pre><code>final Intent intent = new Intent(Intent.ACTION_SEND);
  intent.setType("message/rfc822");
  String[] toArr = new String[] { "someone@somewhere.com" };
  intent.putExtra(Intent.EXTRA_EMAIL, toArr);
  intent.putExtra(Intent.EXTRA_SUBJECT, "This is a subject");
  intent.putExtra(Intent.EXTRA_TEXT, Html.fromHtml("Hello, here is some &lt;b&gt;bold text&lt;/b&gt; some &lt;u&gt;underline text&lt;/u&gt; and &lt;a href=\"http://www.google.com\"&gt;a link&lt;/a&gt;."));
  </code></pre>
  
  <p>The interesting thing (or maybe not?) is that the compose preview of this email message shows all of the bolded, underlined and linked text as one would expect it to appear.  But when it gets sent, the recipient gets the email with all of that stuff stripped out.</p>
  
  <p>And yes, I am aware of <a href="https://stackoverflow.com/questions/13712454/did-android-gmail-4-2-1-break-html-intents">this other question</a> about this that was closed.  I think that maybe it was closed prematurely and am hoping that the additional detail here may warrant another look.</p>
  
  <p>MORE INFORMATION: Upon further research, this problem is way bigger than just sending HTML email via intents.  If one creates a draft email using the GMail web app that has some formatting (bold, underline, hyperlinks, etc.), then open that draft email on your GMail Android app (v4.2.1) it will appear that all of your formatting has been kept.  However, if you then send that draft email using your GMail Android app, all of your formatting will be stripped out before the email is sent.</p>