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)
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.
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)
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.
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.
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.
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
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?