Features
- Two-way email communication - Send and receive emails
- IMAP support - Fetch incoming emails automatically
- SMTP configuration - Send replies from your domain
- Email forwarding - Forward emails to Chatwoot
- Thread preservation - Maintain email conversation threads
- Attachment support - Handle file attachments
- Multiple providers - Gmail, Microsoft, custom SMTP/IMAP
Setup Methods
There are two ways to set up an email inbox:Method 1: Email Forwarding (Recommended for Quick Setup)
Forward emails from your existing email account to Chatwoot.Create email inbox in Chatwoot
Navigate to Settings → Inboxes → Add Inbox → EmailEnter your support email address (e.g.,
[email protected])Set up email forwarding
In your email provider, forward emails to the Chatwoot address.Gmail:
- Go to Settings → Forwarding and POP/IMAP
- Add forwarding address
- Confirm forwarding email from Chatwoot
- Settings → Mail → Forwarding
- Add the Chatwoot forwarding address
Method 2: IMAP/SMTP (Full Integration)
Connect Chatwoot directly to your email server.Gather IMAP/SMTP credentials
You’ll need:
- IMAP server address and port
- SMTP server address and port
- Email address and password
- SSL/TLS settings
Configure IMAP (Incoming)
Enable IMAP and enter:
- Address: IMAP server (e.g.,
imap.gmail.com) - Port: Usually 993 for SSL
- Login: Your email address
- Password: Email password or app password
- Enable SSL: Check if server uses SSL
Configure SMTP (Outgoing)
Enable SMTP and enter:
- Address: SMTP server (e.g.,
smtp.gmail.com) - Port: Usually 587 (STARTTLS) or 465 (SSL)
- Login: Your email address
- Password: Email password or app password
- Authentication: Usually ‘login’
- Enable STARTTLS: Check for port 587
- Enable SSL/TLS: Check for port 465
Provider-Specific Setup
Gmail
- Using App Password (Recommended)
- Using OAuth (Coming Soon)
- Enable 2-Factor Authentication on your Google account
- Go to Google App Passwords
- Generate an app password for “Mail”
- Use this password in Chatwoot IMAP/SMTP settings
- Server:
imap.gmail.com - Port:
993 - SSL: Enabled
- Server:
smtp.gmail.com - Port:
587 - STARTTLS: Enabled
Microsoft 365 / Outlook
IMAP Settings:- Server:
outlook.office365.com - Port:
993 - SSL: Enabled
- Server:
smtp.office365.com - Port:
587 - STARTTLS: Enabled
Microsoft accounts may require OAuth authentication. Check your organization’s security policies.
Custom Domain (cPanel/Plesk)
Ask your hosting provider for IMAP/SMTP details. Common settings: IMAP:- Server:
mail.yourdomain.com - Port:
993(SSL) or143(STARTTLS)
- Server:
mail.yourdomain.com - Port:
465(SSL) or587(STARTTLS)
Email Configuration Options
Inbox Settings
Your support email address
Chatwoot-generated forwarding address for incoming emails
IMAP (Incoming) Settings
Enable IMAP to fetch incoming emails
IMAP server address (e.g.,
imap.gmail.com)IMAP port (typically
993 for SSL, 143 for STARTTLS)IMAP login username (usually your email address)
IMAP password (encrypted at rest)
Enable SSL/TLS for IMAP connection
SMTP (Outgoing) Settings
Enable SMTP to send emails
SMTP server address (e.g.,
smtp.gmail.com)SMTP port (typically
587 for STARTTLS, 465 for SSL)SMTP login username
SMTP password (encrypted at rest)
Authentication method (
login, plain, cram_md5)Enable STARTTLS (port 587)
Enable SSL/TLS (port 465)
SSL certificate verification mode (
none, peer, client_once, fail_if_no_peer_cert)Email Workflow
Incoming Emails
- Customer sends email to
[email protected] - Email is forwarded to Chatwoot or fetched via IMAP
- Chatwoot creates a new conversation with the email content
- Agents receive notification and can reply
- Email thread is preserved with
In-Reply-ToandReferencesheaders
Outgoing Emails
- Agent replies in Chatwoot conversation
- Reply is sent via SMTP from your configured email address
- Customer receives email from
[email protected] - Customer’s reply comes back to Chatwoot
- Conversation thread continues
Best Practices
Use email forwarding for simplest setup
Configure SMTP to send from your domain
Enable IMAP to automatically fetch emails
Use app passwords for Gmail/Microsoft accounts
Test email sending before going live
Set up SPF, DKIM, and DMARC records for deliverability
Monitor IMAP sync for errors
Troubleshooting
Emails not arriving in Chatwoot
Emails not arriving in Chatwoot
For Email Forwarding:
- Verify forwarding is set up correctly in your email provider
- Check spam folder in your email account
- Ensure forwarding address is correct
- Test IMAP credentials with an email client (Thunderbird, Outlook)
- Check IMAP server address and port
- Verify SSL/TLS settings
- Check Chatwoot logs for IMAP errors
Cannot send replies
Cannot send replies
- Verify SMTP settings are correct
- Test SMTP with an email client
- Check SMTP authentication method
- Ensure port and SSL/TLS settings match your provider
- Check if your email provider blocks less secure apps
- For Gmail, use App Password instead of regular password
Email threads breaking
Email threads breaking
- Chatwoot uses
In-Reply-ToandReferencesheaders to maintain threads - Check if your SMTP provider preserves these headers
- Verify
Message-IDis being set correctly
Authentication errors
Authentication errors
- For Gmail: Use App Password with 2FA enabled
- For Microsoft: Check if OAuth is required
- Verify username is correct (usually full email address)
- Try re-entering password
- Check if account requires 2FA or has security restrictions

