NHacker Next
login
▲Gmailtail – Command-line tool to monitor Gmail messages and output them as JSONgithub.com
125 points by c4pt0r 1 days ago | 29 comments
Loading comments...
3r7j6qzi9jvnve 18 hours 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 17 hours ago [-]
I wonder though if also the Gmail interface supports something like this? It seems it's pretty fast at receiving email.
dataflow 15 hours 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.
kevincox 10 hours ago [-]
The GMail web client definitely doesn't create an HTTP endpoint to receive updates. But the API it uses is likely proprietary and private (even if it was built on top of the public API there would be a backend bridging the two)
dataflow 10 hours ago [-]
Sorry, yes, my comment was confusing. I was answering the "how do I get faster notifications in a supported manner" part rather than the "how does the Gmail web UI do this" part.
kosolam 16 hours ago [-]
There is this generic tool: https://github.com/pimalaya/himalaya
toomuchtodo 8 hours ago [-]
Himalaya: CLI to Manage Emails - https://news.ycombinator.com/item?id=42366025 - December 2024 (97 comments)
jrop 9 hours ago [-]
Thanks for this! Exactly what I was looking for.
love2read 19 hours ago [-]
What tool makes these readme’s for new github repos that are bulletpointed lists with features, always prefixed by an emoji?
sunrunner 12 hours ago [-]
I think this trend has been around for a while now (it started to become more noticable for me at least a couple of years ago).

At first there seemed to be a correlation between how 'cool' the project was and the number of emoji, but now it seems like it's as expected as just having a README itself.

I've definitely seen _more_ decorated READMEs, and I can't help but feel like there's an inverse correlation between emoji count and readability.

diggan 15 hours 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 14 hours ago [-]
Trained on too many JS libraries.
username135 9 hours ago [-]
When ever I see tons of emojis in a list/faq/readme I first think of LLM output.
maximevalette 19 hours ago [-]
Basically any LLM
edm0nd 18 hours ago [-]
Layer 8 autism
bravesoul2 17 hours ago [-]
Tool is an insult when applied to a human...
yapyap 18 hours ago [-]
AI, I presume (but I’m not sure) that the code “agent” they are using creates it.
worldsayshi 14 hours 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?
jamespo 11 hours ago [-]
I use imapfilter: https://github.com/lefcha/imapfilter
jeffbee 9 hours ago [-]
Easily done in Google Apps Script.
basemi 18 hours ago [-]
If I read it right, it's built on Gmail API

Are there any other provider agnostic tools with similar capabilities?

szszrk 17 hours 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

MangoToupe 10 hours ago [-]
I can't imagine google ever supporting something that useful.
nathants 13 hours ago [-]
Just have SES put the email in s3, then do stuff.
gsibble 9 hours ago [-]
Oh yeah, I'd love to hold on to people's emails and be responsible if they got leaked.
nathants 2 hours ago [-]
TTL=1day
rubslopes 8 hours ago [-]
Is it just me, or is there a trend to make modern web applications accessible on the terminal?
slantaclaus 2 hours ago [-]
“a resurgence with new tooling and polish”
nisegami 13 hours ago [-]
One step closer to fully closing the loop on using LLMs to automate white collar work.