When a client emails your business, your Gmail AI Agent reads it, summarises it with AI, and lets you reply with a single click — right from the dashboard. But for that reply to land in your client's inbox from your actual Gmail address, you need to connect Gmail SMTP.
This guide walks you through the exact steps. The whole process takes under 5 minutes, and you only need to do it once per Gmail address.
What is SMTP and Why Do You Need It?
SMTP (Simple Mail Transfer Protocol) is the industry-standard protocol for sending email. Without it, Mail AI can receive and read your emails, but cannot send replies on your behalf.
When you configure Gmail SMTP in Mail AI:
- Your replies are sent from your actual Gmail address — not a generic mailai.in address
- Clients receive replies in the same thread as the original email, perfectly threaded
- Your brand looks completely professional and native — Mail AI is invisible
Gmail SMTP Settings at a Glance
| Setting | Value |
|---|---|
| SMTP Host | smtp.gmail.com Copy |
| Port | 587 |
| Encryption | STARTTLS |
| Username | Your full Gmail address (e.g. [email protected]) |
| Password | Your App Password (NOT your Google login password) |
Step-by-Step Setup
-
1Enable 2-Step Verification on your Google Account
Sign in to myaccount.google.com → Security → 2-Step Verification → Turn On. Gmail App Passwords only work when 2FA is active.
Open Google Account Settings → -
2Generate a Gmail App Password
Go to myaccount.google.com/apppasswords → Select app: Mail → Select device: Other → type "MailAI" → Click Generate. Copy the 16-character password shown.
Open Google Account Settings → -
3Open Reply SMTP Setting in Mail AI
In your Mail AI dashboard, go to Linked Email Accounts. Find your Gmail address and click "+ Reply SMTP Setting".
-
4Select Gmail as provider and enter credentials
Choose Gmail from the provider list. Enter your full Gmail address as the username. Paste the 16-character App Password (not your Google login password). SMTP host, port (587), and STARTTLS are pre-filled automatically.
-
5Save and verify the connection
Click Save SMTP. Mail AI will test the connection instantly. A green "Custom SMTP ✓" badge appears on your linked email when successful.
Troubleshooting Common Gmail SMTP Errors
"Authentication Failed" or "Username/Password Incorrect"
This almost always means you entered your regular Google password instead of the 16-character App Password. Go back to myaccount.google.com/apppasswords, generate a new one, and paste it carefully — no spaces.
"App Passwords" option is not visible in my Google Account
App Passwords only appear after enabling 2-Step Verification. If your account is a Google Workspace (business/school) account, ask your admin to allow App Passwords under Admin Console → Security → Less Secure App Access, or use Brevo SMTP as an alternative.
SMTP test succeeds but replies are not being sent
Check that the "From Email" in your SMTP settings matches the Gmail address exactly (including capitalisation). Also verify your linked email address in Mail AI matches the Gmail address you set up forwarding from.
Emails land in spam at the recipient's end
This is a Gmail deliverability question, not a Mail AI issue. Ensure your Gmail account is warmed up (active for at least 30 days), avoid spam-trigger words in subjects, and consider moving to Brevo for better transactional deliverability.
Gmail SMTP vs Other Providers
Mail AI supports multiple SMTP providers. Here's when to use Gmail versus the alternatives:
- 📧 Gmail — Best for personal Gmail accounts replying to business enquiries. Free, easy setup, 500 emails/day limit.
- 💚 Brevo — Best for custom domain emails like
[email protected]. 300 free emails/day, excellent deliverability. See Brevo guide → - 🟠 ZeptoMail — Best for high-volume transactional replies. Pay-as-you-go, Zoho-powered reliability. See ZeptoMail guide →
- 🟣 Amazon SES — Best for enterprise scale. $0.10 per 1,000 emails, requires AWS account. See Amazon SES guide →
- 🔵 Custom SMTP — Use your cPanel or hosting provider's mail server (e.g. mail.yourdomain.com). See Custom SMTP guide →
Ready to Start Replying?
With Gmail SMTP connected, your entire workflow is complete: emails arrive from your clients, Mail AI reads and summarises them, the AI Agent for Gmail drafts a reply using your knowledge base — and when you click Send, it leaves from your own Gmail address.
No switching tabs. No copy-pasting. No missed messages.
Go to your Mail AI dashboard →