Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for Oauth2 support via Yagmail #56

Closed
wants to merge 24 commits into from

Conversation

AndyHegemann
Copy link

I figured I would open this PR just incase anyone else ran into this annoyance with new google accounts.

While setting up this script, I made a new google account to send the notification emails from, but it turns out that new google accounts no longer let you enable "Less secure app access".

So I added configurable options to use yagmail and oauth2, which only requires the yagmail dependency if enabled.
I also wanted the log file emailed to me if there was an error, so that got added as well.
And, inline with #41 I added a check to abort if there are too many modified/updated files.

@AndyHegemann AndyHegemann changed the title Updates for oauth2 support via Yagmail Updates for Oauth2 support via Yagmail Jul 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant