Google Introduces A REST API For Gmail

26 June 2014

Google Developers:

The Gmail API gives you flexible, RESTful access to the user’s inbox, with a natural interface to Threads, Messages, Labels, Drafts, and History. From the modern language of your choice, your app can use the API to add Gmail features like:

  • Read messages from Gmail
  • Send email messages
  • Modify the labels applied to messages and threads
  • Search for specific messages and threads

Gmail has already distanced itself from web standards in order to differentiate and offer significant functionality improvements over its competitors, with labels being the obvious example. This API simply exposes these features to third-party clients, like Microsoft did with Office 365 earlier this year.1

Although right now Google is adamant that ‘full-fledged’ clients should continue to use IMAP, the writing is on the wall. Google doesn’t need to cut off IMAP support in one swift action. At some point, Gmail will outgrow IMAP so much that integration through the API is the only viable option for alternative email clients to be competitive with web Gmail.

I don’t think people should be upset that Google is abandoning standards email. It’s just like how browser vendors move faster than the W3C. This is how the world gets better, pushing beyond the stagnant slow-moving standards bodies. Be thankful that Google is offering third-parties any access to the proprietary layers at all.

1 Obviously, no one cares about Microsoft’s email API.