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/
This example might be a starting point for those who want to integrate Gmail into their own web apps.
- Display summary of last 10 messages received by the user
- Open a modal to view a specific email
- Client templating with Mustache.js
- Format dates with Moment.js
- Run
bower install
to download mustache.js - Put your own Gmail
clientId
andAPIKey
to config.js - Run the http server or load
index.html
from the filesystem
- Implement pagination
- Display attachments and preview
- Implement search, compose, reply, forward, trash