Nodemailer Gmail OAuth2 Issue Resolution

Job ID: 37999538

Budget: $10 – $30 USD

I'm currently having a problem with nodemailer sending email via Gmail using OAuth2.

Attached is my test script. I have checked every setting possible to check, but still get the error below. Can you fix this for me?

The error is (even though I use OAuth2 and not password): "535-5.7.8 Username and Password not accepted."
Related categories: JavaScript Node.js Google Cloud Platform