gmail-oauth2-tools
imapfilter
gmail-oauth2-tools | imapfilter | |
---|---|---|
5 | 15 | |
396 | 828 | |
1.3% | - | |
4.8 | 4.8 | |
26 days ago | 3 days ago | |
Python | C | |
Apache License 2.0 | MIT License |
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
imapfilter
-
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)
-
Lua: The Little Language That Could
My first real exposure to Lua was as the configuration language of imapfilter. Absolutely loved both.
https://github.com/lefcha/imapfilter
-
Automaticallly Printing (from email?)
Use [imapfilter](https://github.com/lefcha/imapfilter) to store the attachment in a local folder and delete/archive the mail. Then use something like [inotify](https://en.wikipedia.org/wiki/Inotify#:~:text=inotify%20(inode%20notify)%20is%20a,reports%20those%20changes%20to%20applications.)%20is%20a,reports%20those%20changes%20to%20applications.)) to run a script that sends the new pdf to the printer
-
Scriptable headless IMAP client?
Imapfilter runs lua scripts. Since it's basically just a lua interpreter with a pre-imported library, you can pretty much do any processing you might like, but... IMHO it doesn't seem great: the documentation is so-so, the API is a bit clunky and lacks basic functionality (eg. you have to decode utf8 mime headers yourself) and (personal opinion) writing an imapfilter script is not easier than using an IMAP library in whatever your favorite programming/scripting language might be.
-
How to run a script to cleanup emails ?
You could look at something like imapfilter. It's designed to do what you want, I think, though I've never used it.
-
Looking for help or alternative solutions to my current email workflow with ProtonMail
I know this one is an issue, and for that you will want to use an email client with the bridge. I have used a protonmail docker container shenxn/protonmail-bridge-docker with imapfilter to provide client side filtering.
-
I have too much email - over 50 GB on Outlook and Gmail
If you can see yourself writing some scripts to clean it up, I can recommend imapfilter as a starting point. I learned enough Lua to be able to use this effectively. The "config" file is actually just a Lua script.
-
Command line email filters
I believe that Google still offers IMAP access (I think you need to set up app passwords, or possibly jump through some OAUTH hoops), letting you use something like imapfilter to set up rules, connecting to Gmail, then doing the filtering.
-
Spam filter that connects to mail server
imapfilter with a Lua script to send messages to Spamassassin.
-
Syncing E-Mail filters
Another tool actually meant for this is imapfilter: https://github.com/lefcha/imapfilter
What are some alternatives?
fdm - fdm source code
imapfilter-tools - Tools to improve imapfilter for use as a reliable SPAM filtering service.
mailhelp - mail help config and dot files for mutt with Gmail on macOS (mbsync, fdm, msmtp).
pyle-of-mail - A Python script that sorts all read emails from your mailbox.
mblaze - Unix utilities to deal with Maildir
protonmail-bridge-docker - ProtonMail IMAP/SMTP Bridge Docker container
birdtray - new mail system tray notification icon for Thunderbird
guix - Read-only mirror of GNU Guix — pull requests are ignored, see https://guix.gnu.org/en/manual/en/guix.html#Submitting-Patches instead
astroid - A graphical threads-with-tags style, lightweight and fast, e-mail client for Notmuch
piccolo - An experimental stackless Lua VM implemented in pure Rust
pysendsms - Quick and simple way to send SMS via SMTP to known a cell carrier.
himalaya - CLI to manage emails