Remix.run Logo
Gmailtail – Command-line tool to monitor Gmail messages and output them as JSON(github.com)
136 points by c4pt0r 2 days ago | 33 comments
3r7j6qzi9jvnve a day ago | parent | next [-]

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 a day ago | parent [-]

I wonder though if also the Gmail interface supports something like this? It seems it's pretty fast at receiving email.

dataflow a day ago | parent | next [-]

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 a day ago | parent [-]

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 a day ago | parent [-]

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 a day ago | parent | prev [-]

There is this generic tool: https://github.com/pimalaya/himalaya

toomuchtodo 21 hours ago | parent | next [-]

Himalaya: CLI to Manage Emails - https://news.ycombinator.com/item?id=42366025 - December 2024 (97 comments)

jrop a day ago | parent | prev [-]

Thanks for this! Exactly what I was looking for.

love2read a day ago | parent | prev | next [-]

What tool makes these readme’s for new github repos that are bulletpointed lists with features, always prefixed by an emoji?

vanrohan an hour ago | parent | next [-]

It's probably LLM generated. Adding a fun/cool factor to the project. I created a Chrome Extension where you can "emojify" any text with a right-click. https://emoji-bot.com

sunrunner a day ago | parent | prev | next [-]

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 a day ago | parent | prev | next [-]

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.

aritrogh 2 hours ago | parent | next [-]

Not necessarily a helpful thing, In fact I think that we were to use this to create dynamic prompts then it increases exponentially

dewey a day ago | parent | prev [-]

Trained on too many JS libraries.

username135 a day ago | parent | prev | next [-]

When ever I see tons of emojis in a list/faq/readme I first think of LLM output.

jdironman 10 hours ago | parent [-]

I do as well when I see:

# Code Comments Every Few Lines

maximevalette a day ago | parent | prev | next [-]

Basically any LLM

bravesoul2 a day ago | parent | prev | next [-]

Tool is an insult when applied to a human...

yapyap a day ago | parent | prev | next [-]

AI, I presume (but I’m not sure) that the code “agent” they are using creates it.

edm0nd a day ago | parent | prev [-]

[flagged]

basemi a day ago | parent | prev | next [-]

If I read it right, it's built on Gmail API

Are there any other provider agnostic tools with similar capabilities?

szszrk a day ago | parent [-]

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 a day ago | parent [-]

I can't imagine google ever supporting something that useful.

worldsayshi a day ago | parent | prev | next [-]

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 a day ago | parent | next [-]

I use imapfilter: https://github.com/lefcha/imapfilter

5 hours ago | parent [-]
[deleted]
jeffbee a day ago | parent | prev [-]

Easily done in Google Apps Script.

nathants a day ago | parent | prev | next [-]

Just have SES put the email in s3, then do stuff.

gsibble a day ago | parent [-]

Oh yeah, I'd love to hold on to people's emails and be responsible if they got leaked.

nathants 15 hours ago | parent [-]

TTL=1day

rubslopes 21 hours ago | parent | prev | next [-]

Is it just me, or is there a trend to make modern web applications accessible on the terminal?

slantaclaus 16 hours ago | parent [-]

“a resurgence with new tooling and polish”

nisegami a day ago | parent | prev [-]

One step closer to fully closing the loop on using LLMs to automate white collar work.