...
Enable App Access:
- If Two-Factor Authentication (2FA) is not enabled, allow less secure apps in Google Account settings.
- If 2FA is enabled, generate an App Password at App Passwords.
Configure the Mail Client:
- Incoming Mail (IMAP): imap.gmail.com, Port 993, SSL enabled
- Outgoing Mail (SMTP): smtp.gmail.com, Port 465 or 587, SSL/TLS enabled
- Username: Full Gmail address (e.g., example@gmail.com)
- Password: Google account password or generated App Password
Test the Connection: Verify that the email account connects successfully.
...
1) enable exchange via SMTP and POP3 (or IMAP) protocols (POP protocol is used less and less often as it is insecure and many mail servers do not recommend it, IMAP is preferable).
2) Enable two-factor authorization in your Google account settings;
3) then go to the link https://myaccount.google.com/apppasswords and generate a password for 1C: FirstBit application - the password will be shown to you only once, it should be memorized (copied and saved) and then used when setting up email account in 1C system.
...