Gmailtail – Command-line tool to monitor Gmail messages and output them as JSON

85 c4pt0r 16 7/3/2025, 12:06:16 AM github.com ↗

Comments (16)

3r7j6qzi9jvnve · 6h ago
This just polls every x (default 30) seconds; if you use IMAP you can do better with IDLE (e.g. I pipe `fetchmail --check` to something that triggers a sync to immediately get new mails)
_flux · 4h ago
I wonder though if also the Gmail interface supports something like this? It seems it's pretty fast at receiving email.
dataflow · 3h ago
There are pub/sub notifications but it's a bit of a pain to get working. You need an HTTP endpoint the server can reach for push notifications, I think, not long polling.
kosolam · 4h ago
There is this generic tool: https://github.com/pimalaya/himalaya
nathants · 57m ago
Just have SES put the email in s3, then do stuff.
love2read · 6h ago
What tool makes these readme’s for new github repos that are bulletpointed lists with features, always prefixed by an emoji?
diggan · 2h ago
Not specifically about readmes/GitHub repos, but I've noticed some LLMs like Sonnet and GPT4.1 are really enthusiastic about doing emoji-prefixed lists for some reason.
dewey · 1h ago
Trained on too many JS libraries.
maximevalette · 6h ago
Basically any LLM
edm0nd · 5h ago
Layer 8 autism
bravesoul2 · 4h ago
Tool is an insult when applied to a human...
yapyap · 5h ago
AI, I presume (but I’m not sure) that the code “agent” they are using creates it.
worldsayshi · 2h ago
Is there any good library or tool that let's me programmatically/easily or semi-automatically delete mail by query in gmail? The built in tools are not good enough. Does Thunderbird work with gmail nowadays?
basemi · 6h ago
If I read it right, it's built on Gmail API

Are there any other provider agnostic tools with similar capabilities?

szszrk · 5h ago
I guess JMAP was created to also deal with this. I'm not sure how far are we in implementation on clients side.

https://jmap.io/spec.html

nisegami · 49m ago
One step closer to fully closing the loop on using LLMs to automate white collar work.