code: def get_body(self):
          
  
          if self.is_multipart():
              # get the plain text version only
              text_parts = [part
                            for part in typed_subpart_iterator(self,
                                                               'text',
                                                               'plain')]
              body = []
              for part in text_parts:
                  charset = get_charset(part, get_charset(self))
                  body.append(unicode(part.get_payload(decode=True),
                                      charset,
                                      "replace"))
  
              return u"\n".join(body).strip()
  
          else:   # if it is not multipart, the payload will be a string
                  # representing the message body
              body = unicode(self.get_payload(decode=True),
                             get_charset(self),
                             "replace")
              return body.strip()
docs: Get the body of the email message