imap to gmail account
No matter how often I verify my gmail and thunderbird account settings, the "Login to account" window won't go away - it keeps popping up with the three buttons, Retry, Enter New Password, or Cancel. The correct password will not satisfy it, and retrying does not work. IMAP is enabled on GMail, the password is correct, Thunderbird has been approved as a third-party app. And it usually works a few days later; this is a recurring problem on many accounts. (I support some friends.)
Alla svar (1)
You need to switch to OAuth2 authentication.