Convet Content-Type: text/html to text/plain email object python
<p>What I am doing right now is reading the values from emailobj. </p>

<pre><code>msg = data['emailobj']
message_body = get_plaintext_body(msg)


text_message = get_decoded_body(message_body)
</code></pre>

<p>So it works fine when the email is in text/plain. I can get the values out. 
But when the email comes in text/html all my codes goes wrong.
How can I handle the this problem.</p>

<p>Basically user are sending email in some format like:</p>

<pre><code>Name : laspal
Country : India
Email : some@some.com
</code></pre>

<p>So if its in html my email will become Email  some@some.com == 20 </p>

<p>How to handle it. 
thanks.</p>
