A web application which fetches mails using the Gmail API.
To run this application you will need the following prerequisites
- Node js - Here is an installation guide
- A Google Cloud Platform project with the API enabled. To create a project and enable an API, refer to Create a project and enable the API Note that for this apllication, you should enable the Gmail API
- A Google account with Gmail enabled
- Download and exract the zip file or clone this repo
- In the file
javascript/keys.js
replace<YOUR_CLIENT_ID>
with the client ID you created. - Also replace
<YOUR_API_KEY>
with the API key you created.
- Navigate to the directory
Mail-Box
in the downloaded code. - Install node modules
npm install
- Start the application
node app.js
- Navigate to
http://localhost:8887/mail-box
in your browswer
- Fetch mails sorted by date
- Fetch inbox, unread, and sent mails
- Send mails with plain text content