mail-trends
mail-trends copied to clipboard
Google refuses authentication
I just installed mail trends on my Mac (running El Capitan) and ran: python main.py --server=imap.gmail.com --use_ssl [email protected] [email protected] -- skip_labels (myname substituted above for actual login name)
when I entered my password for the gmail account, google refused with the following message:
imaplib.error: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure)
I then received an email that the app doesn't support latest security standards. What should/can I do?
You have to allow "less secure access" to your Googel account: go to https://myaccount.google.com/security.
App Passwords is what you'll want to use here. You can then later dispose of the password in the same page.