I want to parse some emails from a user \'s inbox but when I do:
typ, msg_data = imap_conn.fetch(uid, \'(RFC822)\')
It marks the email as S
The following should work:
typ, msg_data = imap_conn.fetch(uid, '(BODY.PEEK[HEADER])')
or BODY.PEEK[TEXT], etc.
BODY.PEEK[TEXT]