Download emails from Gmail, Outlook, IMAP enabled email services.
Setup Instructions:
- Download python from python.org (3.9 or newer)
- Download the script files and extract into a folder.
- Open terminal/powershell/cmd in the extracted folder.
- Run "pip install -r Requirements.txt" command.
- Open the settings.ini file and update GMAIL and/or OUTLOOK email and password.
Usage Intructions:
- Once the basic setup is performed, run "python gmail_monitoring.py -d gmail" command to download the list of all emails on your gmail inbox.
- Run "python gmail_monitoring.py -d gmail -f spam" command to get list of emails in spam folder. (Note: Some email providers have "Junk" folder instead of spam)
- Run "python gmail_monitoring.py -d outlook" command to download the list of all emails on your outlook inbox.
- Run "python gmail_monitoring.py -d gmail -s 'since "1-Sept-2021" before "17-Sept-2021"'" command to get emails between a specific time period.