add .env file with following format- CLIENT_ID= CLIENT_SECRET= REDIRECT_URI= REFRESH_TOKEN= run following commands- npm install npm install googleapis nodemailer dotenv