Skip to content

Commit

Permalink
Added comment about less secure apps in readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlo committed Apr 4, 2022
1 parent 1b67939 commit 85d161a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ python3 gmail_attachment_fetcher.py <config file> <output dir>
```

# TODO
* Requires the user to activate support for unsecure apps (https://myaccount.google.com/lesssecureapps but this will be disabled in May 2022), or adding a "app password" if you are using 2fa, possible to work around it with oauth2 (https://stackoverflow.com/questions/5193707/use-imaplib-and-oauth-for-connection-with-gmail). No time to figure out the tokens etc right now.
* Requires the user to activate support for unsecure apps (https://myaccount.google.com/lesssecureapps but this will be disabled in May 2022), or adding a "app password" if you are using 2fa (https://support.google.com/accounts/answer/185833), possible to work around it with oauth2 (https://stackoverflow.com/questions/5193707/use-imaplib-and-oauth-for-connection-with-gmail). No time to figure out the tokens etc right now.
* The script is really a IMAP attachment fetcher, should move the server url and port to the config file to make it more general.

0 comments on commit 85d161a

Please sign in to comment.