|
|
|
|
|
by spartango
4361 days ago
|
|
Maybe I'm missing something, but: Flipping through the documentation, the RESTful API seems to only allow for polling for new messages (deltas via the sync protocol[1]). While I'm glad that there is a delta-API, I'm concerned that this doesn't support proper "push" notifications for new messages. This is a valuable feature of Exchange and IMAP[-IDLE](where supported). I understand that the heterogeneity of these push protocols makes it difficult to expose a push API, but it seems an important feature of mail clients. Similarly, it seems that REST is not quite the best protocol for the "push" piece of modern email. I suppose long-polling support on the Sync API would work fine, however. [1]: https://www.inboxapp.com/docs/api#sync-protocol |
|
Short answer: we're working on it.
Any pushing-based API really needs to gracefully degrade to polling in case messages are lost. So we decided to first make sure the semantics of the delta sync API were great.
Under the hood we actually use features like IDLE or MS Exchange Ping, so our push updates will also be immediate. The benefit of the delta sync API is that you can query deltas (obviously), which isn't supported by IMAP.