mscdex / node-imap

An IMAP client module for node.js.
MIT License
2.16k stars 380 forks source link

Google stops "less secure" apps access on May 22nd #872

Closed Rigel772 closed 2 years ago

Rigel772 commented 2 years ago

Starting May 30, 2022, ​​Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password... Will node-imap still be working with Gmail?

mscdex commented 2 years ago

Sure, use oauth2 for authentication instead. See the documentation for the xoauth2 option in the readme.

Rigel772 commented 2 years ago

From xoauth2 issues: "This library has been unmaintained for the last 7 years. Both Google and Microsoft have their own OAuth authentication libraries now, so there is no need for the xoauth2 library..." - I understand it does not work with Gmail. Maybe the Readme should be updated?

lacell75 commented 2 years ago

@Rigel772 I need to implement xoauth for gmail also. Do you find a solution?

Rigel772 commented 2 years ago

sorry, did not