Context.IO Makes Your Inbox into a Datastore

DokDok, a Montreal-based startup, has had an email attachment management application on Google Apps some time. To make this work, it made an API to use internally that intelligently uses email accounts as if they were datastores. Recently, the company announced that this API would be renamed Context.IO and available to all.

Here's how described the service in its announcement post:

Context.IO is an email API that opens up instant access to years of important data: conversations, business information, attachments, etc with one simple HTTP call. Our API allows you to build apps that leverage this data in a way that wasn’t previously possible without a series of complex sequences of IMAP requests.

Context.IO is a RESTful service that provides developers easy access to the information inside emails, including attachments. One of the neatest tricks it has is a facility to compare two attachments side by side, marking the differences, for use something like a versioning system.

DiffViewer with

TheNextWeb described another fun use of the API:

In November during hackMTL, a one day hacking event held in Canada, a developer used DokDok’s API to create an app that transformed his inbox into a visual representation of his social graph. DokDok says that Nicholas Kruchten’s app is the most unexpected case use for the API so far.

A PHP library for using the API is already available on github.

Like many APIs, you'll need a developer key to get in on the fun. The service is currently in closed beta, but you can request access on the site.

Allen Tipper Allen Tipper is a Computer Science generalist with a wide range of interests. After graduating in 2008, he's been programming for and specializing in mobile devices, as well as social media websites. As a programmer, APIs are rather important to him, as he finds using them in his software amazingly fun.