Set 2F Authentication in Google account 

Since 30.05.2022 Google required 2F authorization for third-party software or extensions

In order to set the 2F authorization follow these steps:

1) Activate IMAP

Open your Gmail account.

Click on the gear icon in the top-right corner.

Select See all settings.

On the Settings page, open the Forwarding and POP/IMAP tab.

Scroll down to the IMAP Access section.

Ensure that the status is “IMAP is enabled”.

2) Create an app password in Gmail
An app password is an auto-generated code given by an email service provider that allows you to connect to third-party apps without revealing your real password.

In order to access your mail with SMTP you have to generate the 16-digit code
To proceed, please enter your Gmail account.

1. Click on your  account icon

2. Manage your Google Account

3. Security

4. 2-Step Verification

when you go to  2-Step Verification scroll down to the App Passwords. 

now click to Create to generate the 16-digit code

After that, open the Email Settings tab in Preferences[F12] and click to Switch to Advanced Settings

Enable the Use SMTP Authentication and Require secure authentication checkboxes

And insert the generated App Password - 16-digit code for SMTP Password

Use security details for Gmail server here

Now you can Send Test Email