The good folks over at Google have released the Gmail API.
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
Have a great one!