title: HTML email appears as plain text?
body: <p>I'm using the python framework, Flask, to send a HTML email with the following code:</p>
  
  <p><strong>HTML Email:</strong></p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;Email&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;h1&gt;This is a heading&lt;/h1&gt;
      &lt;p&gt;This is a paragraph&lt;/p&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><strong>Flask (using Flask-Mail):</strong></p>
  
  <pre><code>html = render_template('email/activate.html', confirmURL=confirmURL)
          msg = Message('Please confirm your email', sender='email@gmail.com', recipients=[email])
          msg.body = html
          mail.send(msg)
  </code></pre>
  
  <p>I kept it basic to test if the email was appearing correctly or not. I sent the email to a Gmail and an Outlook account but both seem to appear the HTML as just plain text. I've tried using different HTML snippets and the same result occurs. I'm not sure if it is a problem with my code, my email accounts or Flask.</p>
  
  <p>Thanks in advance.</p>