gmail-oauth2-tools VS imapfilter

Compare gmail-oauth2-tools vs imapfilter and see what are their differences.

gmail-oauth2-tools

Tools and sample code for authenticating to Gmail with OAuth2 (by google)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
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
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of gmail-oauth2-tools. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-18.
  • Google will disable all but OAuth for IMAP, SMTP and POP starting Sept. 30
    7 projects | news.ycombinator.com | 18 Jan 2024
    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
    3 projects | /r/golang | 24 Dec 2021
    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
    6 projects | /r/Python | 2 Apr 2021
    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
    3 projects | /r/openbsd | 27 Feb 2021
  • What e-mail client do you like and why?
    4 projects | /r/linux | 16 Jan 2021
    Fetch https://github.com/google/gmail-oauth2-tools/blob/e3229155a4037267ce40f1a3a681f53221aa4d8d/python/oauth2.py Store as ~/.mutt/oauth2.py Make it executable

imapfilter

Posts with mentions or reviews of imapfilter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-18.
  • Google will disable all but OAuth for IMAP, SMTP and POP starting Sept. 30
    7 projects | news.ycombinator.com | 18 Jan 2024
    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
    16 projects | news.ycombinator.com | 28 May 2023
    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?)
    1 project | /r/selfhosted | 6 May 2023
    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?
    3 projects | /r/linuxquestions | 11 Apr 2023
    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 ?
    2 projects | /r/fastmail | 9 Mar 2023
    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
    2 projects | /r/PrivacyGuides | 9 Jan 2023
    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
    1 project | /r/techsupport | 4 Jan 2023
    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
    2 projects | /r/commandline | 1 May 2022
    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
    2 projects | /r/selfhosted | 16 Apr 2022
    imapfilter with a Lua script to send messages to Spamassassin.
  • Syncing E-Mail filters
    1 project | /r/email | 26 Dec 2021
    Another tool actually meant for this is imapfilter: https://github.com/lefcha/imapfilter

What are some alternatives?

When comparing gmail-oauth2-tools and imapfilter you can also consider the following projects:

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