Cannot read gmail using thunderbird (or other mail programs) after enabling two factor authentication
I enabled two factor authentication for my google account and thunderbird stopped working with a "Retry","Enter new pasword","Cancel" dialog. To get gmail working again login to your google account and go to the security settings in "My Account" and create an App password for Thunderbird. Go back to Thunderbird and paste the new password in using "Enter new password". You will also need to use the same password if you use gmail to send email as well. I leave it up to you to use google search to find the instructions for creating an app password if the following link has expired or changed App Passwords