A nodejs express application that automatically sends replies to mails by accessing the mails in the gmail inbox and then replying by sending the answer to the database query in the body of mail.
Initial setup:
1.Setup an gmail api in google developers console and the generate the credentials JSON file.
2.Rename it to "client_secrets" and paste in the parent directory of the project.
3.Run the app.js file and on the first run, enter the code that appears there that setups the tokens.