gmail-oauth2-tools
fdm
gmail-oauth2-tools | fdm | |
---|---|---|
5 | 4 | |
396 | 263 | |
1.3% | - | |
4.8 | 2.5 | |
26 days ago | about 2 months ago | |
Python | C | |
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
fdm
-
IMSErious: Execute commands in response to Dovecot email push notifications
I wrote this to execute fdm on new messages, so my VPS can deliver email to its own local Dovecot instance and my home machine can fetch them with minimal delay - without otherwise being tightly coupled to my external email setup.
-
Email archiving and searching options
When I switched from GMail’s web client to a local client, I used fdm over POP to send everything to a local maildir. Then I set up a cronjob that calls fdm every five minutes (again, over POP) to check for new mail. Bear in mind that depending on your GMail settings, GMail’s copies of emails can be auto‐deleted upon POP download. If you still want to access email through the web or IMAP, make sure that’s set properly.
-
Setting up fdm
This actually seems to have maybe changed quite recently, however this mechanism seems inconvenient for users to use, requiring additional scripting (meaning, shelling out to a command), continually generate a new access token to use with fdm, on a per-account basis, hourly. Yuck.
-
Python3 equivalents of OfflineIMAP?
I came across fdm, which is fast, lightweight, and simple to configure. It fetches mail. That's it. The config is literally a couple of lines for a single mailbox.
What are some alternatives?
mailhelp - mail help config and dot files for mutt with Gmail on macOS (mbsync, fdm, msmtp).
offlineimap - Read/sync your IMAP mailboxes (python2) [LEGACY: move to offlineimap3]
mblaze - Unix utilities to deal with Maildir
birdtray - new mail system tray notification icon for Thunderbird
offlineimap3 - Read/sync your IMAP mailboxes (python3)
astroid - A graphical threads-with-tags style, lightweight and fast, e-mail client for Notmuch
IMSErious - Execute commands in response to Dovecot's Internet Message Store Event notifications
pysendsms - Quick and simple way to send SMS via SMTP to known a cell carrier.
go-samples - Go samples for Google Workspace APIs
VSTSBuildNotifier - Monitor Visual Studio Team Services builds and receive text notifications.
smtpoauth2 - Go net/smtp Auth provider for oauth2