gmail-oauth2-tools
mblaze
gmail-oauth2-tools | mblaze | |
---|---|---|
5 | 10 | |
396 | 416 | |
1.3% | - | |
4.8 | 4.5 | |
26 days ago | 8 days ago | |
Python | C | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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
mblaze
-
Mblaze – Unix utilities to deal with Maildir
I'm so close to being a full-time mblaze user, it is truly excellent. There is something so smart about being able to use your standard shell tooling and interaction facilities to interact with mail. It is like everything that was a good idea with mh¹/nmh decades ago, just better all round and with a nicer message format.
Even if you don't like the idea of using command line tools as your MUA, you can easily make mblaze interactive with common tooling. For example, you could use mlist via fzf along with its --preview window as pretty awesome interactive client. Everything works as you'd expect, and you have all the power of every single tool you use to mangle that mail at any point.
I just seem to fall back in to mutt too easily in the end, I can't get over the final hump. I've even implemented a chunk of mimicry bindings so that I shouldn't even notice, but mutt pulls me back in for "that one minor feature" every now and then. I've been doing this dance for at least a few years at this point², but I think it may be longer.
¹ https://en.wikipedia.org/wiki/MH_Message_Handling_System
² https://github.com/leahneukirchen/mblaze/commits?author=JNRo...
-
Ask HN: Most interesting tech you built for just yourself?
I combined mblaze (https://github.com/leahneukirchen/mblaze), fzf and standard UNIX tools to build my own CLI MUA in under 300 lines, most of which is shell scripts.
When UNIX is your platform you don't need a complex UI framework with thousands or millions of lines of codes, and you get to reuse knowledge you've already built elsewhere.
I need to write more about it
-
Burgr – Books in Your Terminal
If you like Himalaya, you'll probably like mblaze as well (https://github.com/leahneukirchen/mblaze)
I also find fzf to be very good for building simple UIs. In fact I saw ways to do 80% of burgr with a few lines of fzf; composable tools really are the bee's knees
-
Ask HN: What services/apps are you self-hosting?
I self‐host mostly because local copies of things give me some privacy (sites won’t know what my IP is searching for), and it also lets me work easily when Comcast is down… which is annoyingly frequent in my neighborhood.
All of these machines are running OpenBSD, except the gaming machines and the HTPC.
• Outgoing Email: OpenSMTPD, with mandatory TLS. Since I’m the only one sending email from my domain, the outgoing relay is hidden behind my LAN and my DKIM keys never leave my network. Outgoing mail gets routed via Wireguard through a VPS so it doesn’t look like it’s coming from a residential IP block.
• Incoming Email: OpenSMTPD on my MXes, with MTA‐STS and DNSSEC/DANE so as many senders use TLS as possible. Delivers to Maildir on my LAN, which I access directly using mblaze over SSH (https://github.com/leahneukirchen/mblaze) and IMAP via Dovecot (which supports Maildir backend).
• Roundcube webmail.
• DNS zones: NSD running on two VPSes, slaves pulling their config via WireGuard from the master which runs in a VM on my LAN.
• Public webserver, with personal (public) homepage, Git repositories (clonable and browsable via CGit), photo gallery, files/images/random files when I need to share them by sending a link in IRC, etc.
• Matrix: Synapse for the server, Element for the client. Besides hanging out in Matrix rooms I use this for one‐on‐one audio calls with my friends (generate a link, send it to them, and chat through the browser).
• Pleroma, so I can interact with the Mastodon network.
• Apertium for text translation. The range of languages is a bit limited but for supported pairs it’s nice to avoid Google Translate.
• A home theater PC in my living room running Kodi, which pulls all my Blu‐Rays from a home NAS.
• A powerful gaming machine that uses Steam to stream games to either the HTPC or my Steam Deck. I only use this at home… I wonder how bad the latency would be if I connected to it when on a trip?
• My music collection, whether ripped from CD or bought digitally, is automatically tagged and sorted with Beets, and I run the web plugin to access it over the web. Beets’s web interface is kind of primitive; I would love to replace it with something like FunkWhale.
• Full mirrors of websites with free content: Wikipedia, Wikimedia Commons, Wiktionary, Stack Overflow, Project Gutenberg, Standard Ebooks
• Full OpenBSD package mirrors
• OpenStreetMap, running OSRM (routing) on top of an open source Leaflet/Mapbox demo I set up years ago. I’ve been meaning to update this to something more modern and less reliant on Mapbox software.
• Radicale for CalDAV/CardDAV, so my calendar and contacts are synced across all my devices automatically.
• Home adblocking with Unbound (what most people use PiHole for I guess). DNS lookups for my home network are anonymized with DoH over Tor (CloudFlare provides documentation for how to do this).
• Ways to access my home network when away from home: WireGuard VPN in a roadwarrior configuration; public‐facing SSH (with WebAuthn‐backed keys); failing that, an HTTPS proxy with Squid. (Yes, I have been stuck at conferences where the wifi network blocked SSH, WireGuard, and all traffic that wasn’t HTTP/HTTPS or DNS from the blessed server!)
-
Meli – email client in the terminal, in the spirit of mutt
You're probably looking for notmuch, which integrates very well with other tools. There's also mblaze (https://github.com/leahneukirchen/mblaze) that might be of interest.
-
Suckless Modular E-mail Tools?
For parsing mails in the shell mblaze can be nice sometimes: https://github.com/leahneukirchen/mblaze
-
Best terminal mail client
mblaze is nice once you get used to it. Pretty neat how you can compose simple pipelines interactively or just using simple scripts for repetitive tasks.
-
A Minimal Email Client
Aerc looks amazing, but I am still waiting for threading support before making the jump [1]. To the best of my knowledge, it supports everything else I would need.
[1]: https://todo.sr.ht/~sircmpwn/aerc2/94
My current stack is: Mutt, Neovim, fdm, msmtp, Syncthing, notmuch, lynx (for HTML conversion), mblaze [2] (for scripting), and a tiny pair of scripts to snooze and unsnooze e-mails. Here is an interesting observation, although a pipeline like this may look terrifying, it makes swapping in Aerc to take it for a spin trivial since it all interacts with a Maildir.
[2]: https://github.com/leahneukirchen/mblaze
-
What e-mail client do you like and why?
There is also mblaze https://github.com/leahneukirchen/mblaze if you are so inclined.
What are some alternatives?
fdm - fdm source code
mu - maildir indexer/searcher + emacs mail client + guile bindings
mailhelp - mail help config and dot files for mutt with Gmail on macOS (mbsync, fdm, msmtp).
himalaya - CLI to manage emails
birdtray - new mail system tray notification icon for Thunderbird
mutt-wizard - A system for automatically configuring mutt and isync with a simple interface and safe passwords
astroid - A graphical threads-with-tags style, lightweight and fast, e-mail client for Notmuch
pysendsms - Quick and simple way to send SMS via SMTP to known a cell carrier.
meli - 🐝 experimental terminal mail client, mirror of https://git.meli.delivery/meli/meli.git https://crates.io/crates/meli
go-samples - Go samples for Google Workspace APIs
maildir-tools - Golang-based utility which can be used for scripting Maildir things, and also as a basic email client