c_disp = part.get('Content-Disposition')
if c_type == 'text/plain' and c_disp == None:
    body = body + '\n' + part.get_payload()
else:
    continue
Parsing Multipart emails in python and saving attachments