Download ALL attachments from GMail
- Script needs to be run via console not in an IDE, getpass.getpass() will fail otherwise https://docs.python.org/3/library/getpass.html
- IMAP must be enabled in GMail settings https://support.google.com/mail/troubleshooter/1668960?hl=en
- need an APP Password if using 2 step verification https://support.google.com/accounts/answer/185833
- Reference information for GMail IMAP extension can be found here https://developers.google.com/gmail/imap_extensions
To add:
-download each gmail to a separate folder [named by the subject]
-copy body of the gmail to .txt and parse info