Create a Gmail SMTP App password for 2FA
This can be used for Thunderbird, the Mageplaza SMTP Magento2 plugin or any 3rd party Gmail app. Login to Gmail, then go to “Manage your Google Account”.Then click “Security” or go straight to https://myaccount.google.com/security 2 Step Verification should be turned