Using nodemailer to send mail using gmail but with a more secured approach using Google Oauth2.
Clone the project
git clone https://github.com/ProgrammingInBlood/nodemailer-gmail-Oauth2
Go to the project directory
cd nodemailer-gmail-Oauth2
Install dependencies
npm install
Start the server
node server.js