In this project, we are going to add nodemailer to send mails.
Create env.js file in the root directory and put your own email and password.
module.exports = {
EMAIL : '<YOUR_EMAIL>',
PASSWORD : '<GMAIL_GENERATED_PASSWORD>'
}
For More Information Join Daily Tuition.