title: Read the body (only the text)of unseen email using imap python
body: <p>Heres the code I used to read unseen message in the account</p>
  
  <pre><code>import imaplib
  
  
  def read():
      # Login to INBOX
      imap = imaplib.IMAP4_SSL("imap.gmail.com", 993)
      imap.login("noticeboard16@gmail.com","embeddedSystems")
      imap.select('INBOX')
  
      # Use search(), not status()
      status, response = imap.search('INBOX', '(UNSEEN)')
      unread_msg_nums = response[0].split()
  
      # Print the count of all unread messages
      print len(unread_msg_nums)
  
      # Print all unread messages from a certain sender of interest
      status, response = imap.search(None,"UNSEEN")
      unread_msg_nums = response[0].split()
      da = []
      for e_id in unread_msg_nums:
          _, response = imap.fetch(e_id, '(UID BODY[TEXT])')
          da.append(response[0][1])
      print da
  
      # Mark them as seen
      for e_id in unread_msg_nums:
          imap.store(e_id, '+FLAGS', '\Seen')
  
  
  
  read()
  </code></pre>
  
  <p>The result I got was</p>
  
  <pre><code>['------=_Part_394017_525061083.1427193122764\r\nContent-Type: text/plain; charset=UTF-8\r\nContent-Transfer-Encoding: quoted-printable\r\n\r\nshsidghsdiuhhgsghshgiurhguirghursgdsjlvn =C2=A0dfh\r\n=20\r\n\r\n\r\n     On Tuesday, March 24, 2015 3:40 PM, Nethmi Hettiarachchi &lt;hettiarachch=\r\ni.nethmi@yahoo.com&gt; wrote:\r\n  =20\r\n\r\n ygfadyfgsduygfvadyugvsuydzgvfhfgd=20\r\n\r\n\r\n     On Tuesday, March 24, 2015 2:49 PM, Nethmi Hettiarachchi &lt;hettiarachch=\r\ni.nethmi@yahoo.com&gt; wrote:\r\n  =20\r\n\r\n hello notice board..CO321 lab is candelled..=20\r\n\r\n\r\n     On Tuesday, March 24, 2015 9:23 AM, Nethmi Hettiarachchi &lt;hettiarachch=\r\ni.nethmi@yahoo.com&gt; wrote:\r\n  =20\r\n\r\n hello..this is co321.group project=20\r\n\r\n\r\n     On Tuesday, Mar
  </code></pre>
  
  <p>Something like above this includes the message I receved but I need to print only the message</p>