For nodemailer to work, gmail account has to allow less secure app. https://myaccount.google.com/u/2/lesssecureapps?pageId=none Is there a configuration we can use with nodemailer to avoid this?