node-red/node-red-nodes

node-red-node-email no longer compatible with Gmail

gkgeorgiev opened this issue · 6 comments

Based on the Gmail documentation, as of 22.05.2022, they stop supporting less secured 3rd party apps for regular Gmail users.

Which node are you reporting an issue on?

node-red-node-email

What are the steps to reproduce?

  1. install node-red-node-email 1.15.1
  2. Configure gmail account at the email node
  3. try to send an email

What happens?

Error: Invalid login: 535-5.7.8 Username and Password not accepted. Learn more at
535 5.7.8 https://support.google.com/mail/?p=BadCredentials g5-20020a50d5c5000000b004356c0d7436sm11008465edj.42 - gsmtp

What do you expect to happen?

Successfully sent email

Please tell us about your environment:

  • Node-RED version: 2.2.2
  • node.js version:
  • npm version:
  • Platform/OS: HASSIO
  • Browser: FF

Have you followed the instructions in the link in the error messages? I believe App Specific passwords still work

Have you followed the instructions in the link in the error messages? I believe App Specific passwords still work

Yep, this is how I figured out that Gmail is no longer available through this node https://support.google.com/accounts/answer/6010255

Yes, but at the bottom of that page there is a link to using an "App Password" (and generated 16 digit passcode) that should still work.

To be 100% sure, you have tried using that and it still doesn't work?

Using App passwords still works ... so going to close this