Example of how to use the Gmail API in JavaScript. Code to accompany the following article: http://www.sitepoint.com/mastering-your-inbox-with-gmail-javascript-api/
- Display summary of last 10 messages received by the user
- Open a modal to view a specific email