4 ms·
Isn't any API a "server protocol"? There are client libraries like (https://github.com/linagora/jmap-client-ts https://github.com/linagora/jmap-client-ts) whic
by anilgulecha 5y ago
Isn't any API a "server protocol"?
There are client libraries like (https://github.com/linagora/jmap-client-ts https://github.com/linagora/jmap-client-ts) which allow you to perform all mailbox actions. I'm trying to understand what I can do better as a client - does emailengine enable something that JMAP API will not? You called out webhook as one.
- andris9 5y agoIf your email server supports JMAP (for example if you are a Fastmail user) then that's great – most probably you'd not need anything like EmailEngine at all and can use the JMAP clients. The problem is that almost no email server in the world supports JMAP at this point. It might change in the future, though anything related to changes in email take years if not decades. If you want to communicate with an existing email server then you either have to use IMAP, POP3 or a service specific API (eg Gmail API or O365 API). Using IMAP seems easy at first, and it is, if all you need to do is to list current contents of a mailbox folder. As soon as you want to start tracking changes, everything gets really messy. If it would be possible to use JMAP instead, it wouldn't be so hard but, as I stated, email servers do not actually support JMAP.