First, please go to Your Gmail settings first and make sure that Your Imap acess status is enabled in Forwarding and POP/IMAP settings:
Now, let's generate the password.
Please go to Manage Your Google account settings and choose security options:
To set a password You need to have 2-step verification for signing in to Google switched on. If not, please do so-it will take max 1 minute of Your time:)
If the access is switched on, please click on app passwords to and add other custom application. Please type TRAFFIT in the name of Other application and click Generate to get Your password:
You should receive a password that You should be able to select and copy:
Now, You can add Your Gmail to Traffit and paste the generated password directly here and finish adding Your Gmail to Traffit if You have two step verification account.