I am getting this in postman -
{
"code": "EAUTH",
"response": "535-5.7.8 Username and Password not accepted. Learn more at\n535 5.7.8
https://support.google.com/mail/?p=BadCredentials x7-
20020aa784c7000000b005058d220b37sm21945855pfn.64 - gsmtp",
"responseCode": 535,
"command": "AUTH PLAIN"
}
Email And password not accepted
, I have already gone through this
I recommend looking into Xoauth2 this way you can authorize the user rather than relying upon their password. I would try adapting javascript-implicit-flow to see if this will work.