3 ms·
Their realtime mail notifications are specified at https://developers.google.com/gmail/api/guides/push https://developers.google.com/gmail/api/guides/push You
by Arnt 3y ago
Their realtime mail notifications are specified at https://developers.google.com/gmail/api/guides/push https://developers.google.com/gmail/api/guides/push
You can also get realtime notifications using IMAP+IDLE+app passwords, although IIRC that'll lag by a couple of seconds.
- tadfisher 3y agoPush requires a Pub/Sub client, which doesn't have a free tier (last time I checked).
- Arnt 3y agoI'm sure I misunderstand something then, so please correct me: doesn't Gmail pub to a server you choose, and you sub from it? Are there no servers with free tiers, is it impossible to run your own, does Gmail refuse to pub to a server outside Google, or what's the problem?
- tadfisher 3y agoI'm talking about the "Cloud Pub/Sub API", linked from the doc you posted. The pricing is described here: https://cloud.google.com/pubsub/pricing https://cloud.google.com/pubsub/pricing