Congratulations on joining the VarAC Email Gateway world!
Before you begin, we recommend creating a dedicated Gmail account for relaying gateway emails instead of using your personal account. This helps keep things organized and separate.
Now lets get started:
If you encounter this error, you'll need to enable 2-step verification for your account. You can do this by following this link: https://myaccount.google.com/security

Create a new app password. You can call it “VarAC”

Copy the password you got

Go to VarAC settings screen -> Email tab
On the top left – Check the “Enable Email gateway”
Enter your Gmail email address
Set the SMTP password to the “App password” you got from your Gmail account.
Make sure the following are configured:
SMTP server: smtp.gmail.com
SMTP port: 587
Enable TLS is checked

That’s it. Click “SEND TEST EMAIL” and make sure you get a SUCCESS message. If it fails – inspect the VarAC.log file for details.
Appendix:
If you ever want to delete this app password – simply go again to: https://myaccount.google.com/apppasswords and delete it:

: