Got mine working as follows:
in iVMS-4200, Device Management, Remote Configuration, Event, Email
User Name: email address WITHOUT @gmail.com
Password: use App Password
SMTP Server: smtp.gmail.com
Port: 587
E-mail Encryption: SSL
Test and it worked fine for me.
NVR firmware: v3.4.62 build...