mail-trends icon indicating copy to clipboard operation
mail-trends copied to clipboard

Google refuses authentication

Open ghost opened this issue 9 years ago • 2 comments

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?

ghost avatar Jan 06 '16 17:01 ghost

You have to allow "less secure access" to your Googel account: go to https://myaccount.google.com/security.

benshep avatar May 02 '17 10:05 benshep

App Passwords is what you'll want to use here. You can then later dispose of the password in the same page.

harningt avatar Sep 25 '17 20:09 harningt