If your Gmail uses 2-factor authentication then you need to do the following steps.
First, you need to create a special password for email logins in CRM
Click the link https://myaccount.google.com/apppasswords to create a password for email logins in CRM
Login Google Mail
Then enter the type of application, e-mail
Select the device that is custom, then fill in Barantum CRM
Then you will get a password like the following, save the password first
Then open the email menu on Barantum CRM, click Setup My Mailbox
Then fill in the form in accordance with the following configuration
1. Domain Server: imap.gmail.com
2. Server Port: 993
3. Email: your google email
4 Password: Application password you previously created
Then press Save, then you can then see the inbox in your email