Enterprise IT/Software

Google releases Gmail API replacing IMAP

Software CBR Staff Writer

10:05, June 26 2014

Unlike IMAP, the new API offers developers to access only to what they require.

Google has rolled out a new application programming interface (API) for its mailing service-Gmail, facilitating developers to leverage the contents of users' email for productivity and other applications, while claimed that that it will give significant speed enhancements.

Using the new API, developers can gain access to a Gmail user's account OAuth 2.0 authorisation, and make some HTTPS calls and get responses in a range of formats.

Tools integrated in the API enable programmatic access that allows reading and sending messages, in addition to altering the labels applied to messages and threads and searching specific messages and threads.

Gmail API technical lead Eric DeFriez said as a standard Google API, you make simple HTTPS calls and get your responses in JSON, XML or Google Protobuf formats.

"You can also make these calls from standard web languages like Java and Python without using a TCP socket, which means the API is accessible from many cloud environments that couldn't support IMAP," DeFriez added.

"To keep in sync, the API allows you to query the inbox change history, thereby avoiding the need to do 'archaeology' to figure out what changed."

Unlike the IMAP, which allows developers to access all the data in user's email in a bid to make their applications work, the new API offers access only to what they require.

At the ongoing I/O annual developer conference, the search major is also focusing on devices and wearables, in addition to new Android updates, and may be even Android 5.0 Lollipop.


Post a comment

Comments may be moderated for spam, obscenities or defamation.