You might think that there enough mail APIs already, but Inbox has another one for you and its approach to creating a universal email system is clever.
Surely SMTP, POP3 and IMAP are enough mail APIs for anyone?
As we recently reported not for Google, which introduced a Restful API for GMail. Of course the problem with the GMail API is that it only works with GMail and hence using it in your app locks you into to whatever Google does in the future.
Inbox, however, has an API that works with a range of email systems and perhaps all email systems in the near future. Its Microsoft Exchange support is currently in beta.
So the advantage of using Inbox's API is near universality and its open source so in theory its future proof. As Inbox explains:
Inbox is open-source, like Ruby on Rails, so you can run it yourself.
Inbox supports many providers, including Gmail, Yahoo, and Hotmail/Outlook.com, with plans to quickly add more. The Inbox Developer Program also supports Microsoft Exchange for enterprise users. You can build once for users everywhere.
If you find a bug in Inbox, you can submit a pull request and help fix it. If you have an idea for a feature, you can fork Inbox to add it.
Inbox is an email company. Google is an advertising company. This product is our focus, and will not be "discontinued" unexpectedly.
Take careful note of the final point.
The system is free to use, but there is a catch that you need to be aware of.
To implement its Restful API, Inbox has created a mail proxy server - the Inbox Sync Engine. What you do is setup the Sync Engine on a suitable server and it collects your email from all of the other services. So, for example, it collects your GMail email using a standard API like IMAP. Your email, from possibly multiple sources, is aggregated by the Sync Engine. Your app then connects to the Sync Engine using the Restful API to collect, create and generally work with your email.
So, if you build an app that makes use of the Inbox API, you have to persuade your users to register with an instance of the Sync Engine and set up their email accounts so that it can work with their email.
The Sync Engine acts as a buffer that converts the different "legacy" standard APIs to a single Restful JSON based API.
At the moment you have to host the Sync Engine - either on a local, hosted or cloud server. In the near future Inbox will offer the Sync Engine as a service at a cost and this is how they are going to make some money to keep the whole thing running.
So is this a good idea?
Sounds like the weirdest hackathon you could imagine. The topic is the fruit fly, that's Drosophila melanogaster to you, and specifically its brain. And there is no need to turn up with lots of r [ ... ]