title: payload of an email in string format, python
body: <p>I got payload as a string instance using <code>get_payload()</code> method. But I want my payload in a way where I could access it word by word
  I tried several things like <code>as_string() method, flatten() method, get_charset() method</code> , but every time there is some problem.</p>
  
  <p>I got my payload using the following code</p>
  
  <pre><code>import email
  from email import *
  f=open('mail.txt','r')
  obj=email.parser.Parser()
  fp=obj.parse(f)
  payload=fp.get_payload()
  </code></pre>