I want to get all my emails with all their information, e.g. Body, Subject, Date Received, Folders, Attachments, From, To, etc.
I found this: How can I download all emails with attachments from Gmail?
But it's only subjects/from/attachments.
I copied pretty much everything and added this:
for payload in mail.get_payload():
print part.get_payload(decode=True)
But I'm getting (�� (�� (��
at times and html at times.
I just want to have simple access to an email message where everything is decoded, easily handleable.