I was worried about the username/password too. Interesting, so you're generating a Client secret and using the Google package to send emails. That snippet helps a lot! Also found the relevant guide for Node.js - https://www.google.com/amp/s/blog.mailtrap.io/send-emails-wi...