gmail-oauth2-tools
go-samples
gmail-oauth2-tools | go-samples | |
---|---|---|
5 | 2 | |
396 | 208 | |
1.3% | 1.0% | |
4.8 | 0.0 | |
26 days ago | 3 months ago | |
Python | Go | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gmail-oauth2-tools
-
Google will disable all but OAuth for IMAP, SMTP and POP starting Sept. 30
Shouldn't be _too_ hard to convert your scripts.
I ran into the same problem and one workspace disallows App passwords. You can simply get the OAuth token with a little python script and then use it as the password: https://github.com/google/gmail-oauth2-tools/blob/master/pyt...
(see for example https://github.com/lefcha/imapfilter/issues/186)
-
SMTP/OAUTH2 to send email via gmail
I tried to keep dependencies low, and while developing that and testing it I came across sendgmail. sendgmail is a little more polished but has a lot more dependencies, it's also not really setup to be imported into a project and used like a package.
-
Send SMS Text Message With Python Using GMail SMTP For Free
Integrated with OAuth2 and register an app with Google to get a client secret. This should clear that up but honestly it's a hassle to do, I had a similar script (posted my story in another comment) and I always thought of going through and redoing it to authenticate with OAuth but it just seemed like a hassle. I found this which should help. https://github.com/google/gmail-oauth2-tools/wiki/OAuth2DotPyRunThrough
- Setting up fdm
-
What e-mail client do you like and why?
Fetch https://github.com/google/gmail-oauth2-tools/blob/e3229155a4037267ce40f1a3a681f53221aa4d8d/python/oauth2.py Store as ~/.mutt/oauth2.py Make it executable
go-samples
-
GitHub - jacobalberty/smtpoauth2: Go net/smtp Auth provider for oauth2
I've seen mention of oauth2 for smtp being needed a couple times here so I finally took a look. I wanted to keep it dependency free so this only handles the smtp auth side of things. You will need a separate piece of software to handle the oauth2 token generation. I used this to generate my token.json and there's an example of using token.json to send an email in the smtpoauth2 repo.
-
SMTP/OAUTH2 to send email via gmail
You'll need to setup your oauth2 credentials.json and then use a tool like this to generate the token.json see sendmail in my repository for an example that loads token.json and sends an email.
What are some alternatives?
fdm - fdm source code
gsm - GSM - Manage Google Workspace resources using a developer-friendly CLI written in Go.
mailhelp - mail help config and dot files for mutt with Gmail on macOS (mbsync, fdm, msmtp).
reisen - A simple library to extract video and audio frames from media containers (based on libav).
mblaze - Unix utilities to deal with Maildir
go-samples - Go samples for Google Workspace APIs [Moved to: https://github.com/googleworkspace/go-samples]
birdtray - new mail system tray notification icon for Thunderbird
golang-samples - Sample apps and code written for Google Cloud in the Go programming language.
astroid - A graphical threads-with-tags style, lightweight and fast, e-mail client for Notmuch
smtpoauth2 - Go net/smtp Auth provider for oauth2
pysendsms - Quick and simple way to send SMS via SMTP to known a cell carrier.
VSTSBuildNotifier - Monitor Visual Studio Team Services builds and receive text notifications.