Step 1: Enable IMAP in Gmail
- Go to Gmail → Settings (⚙️) → See all settings
- Open the “Forwarding and POP/IMAP” tab
- Enable IMAP
- Click Save Changes
Step 2: Enable 2-Step Verification
Visit:
- https://myaccount.google.com/security
- Turn on 2-Step Verification
Step 3: Generate an App Password
Select:
- App: Mail
- Device: Other (Zoho CRM)
- Generate the password
- Copy it (this will be used instead of your Gmail password)
Use the following settings:
Incoming Server:
- Username: Your full email address
- Password: App Password (not your Gmail password)
- IMAP Server: imap.gmail.com
- Port: 993
- Requires SSL: Yes
Outgoing Server:
- Username: Your full email address
- SMTP Server: smtp.gmail.com
- Port: 587
- Encryption: TLS
Step 5 (If applicable): Check with Google Admin
If you're using Google Workspace, ask your admin to ensure:
- Gmail is enabled for your account
- External app access is allowed