Supported Email Providers
Frappe Helpdesk includes pre-configured settings for popular email providers:- Gmail - Google’s email service
- Outlook - Microsoft Outlook/Office 365
- Yahoo - Yahoo Mail
- Yandex - Yandex Mail
- Sendgrid - Email delivery service (outgoing only)
- SparkPost - Email delivery service (outgoing only)
- Frappe Mail - Frappe’s email service
- Custom - Any IMAP/SMTP server
Basic Configuration
All email accounts require these basic fields:A friendly name for this email account (e.g., “Support” or “Sales”).
The email address for this account (e.g., [email protected]).
The email service provider. Options: GMail, Outlook, Yahoo, Yandex, Sendgrid, SparkPost, Frappe Mail, or Custom.
Popular Providers (Gmail, Outlook, Yahoo, Yandex)
For Gmail, Outlook, Yahoo, and Yandex, you need:App-specific password for your email account.Important: All popular providers require two-factor authentication and app-specific passwords:
Pre-configured Settings
These providers come with automatic server configuration: Gmail:- IMAP Server: imap.gmail.com (SSL enabled)
- SMTP Server: smtp.gmail.com
- SMTP Port: 587
- IMAP Server: imap-mail.outlook.com (SSL enabled)
- SMTP Server: smtp-mail.outlook.com
- IMAP Server: imap.mail.yahoo.com (SSL enabled)
- SMTP Server: smtp.mail.yahoo.com
- SMTP Port: 587
- IMAP Server: imap.yandex.com (SSL enabled)
- SMTP Server: smtp.yandex.com
- SMTP Port: 587
Frappe Mail
For Frappe Mail integration:Your Frappe Mail site URL (e.g., https://frappemail.com).
API key from your Frappe Mail account.
API secret from your Frappe Mail account.
Custom SMTP/IMAP Configuration
For custom email servers:Basic Authentication
Password for authenticating with the email server.
Email domain (e.g., example.com). Can be linked to an Email Domain doctype for reusable configuration.
Incoming Mail (IMAP/POP)
IMAP or POP server address (e.g., imap.example.com).
Port for incoming mail. Common values:
- 993 (IMAP with SSL)
- 143 (IMAP with STARTTLS)
- 995 (POP3 with SSL)
Enable SSL/TLS for incoming mail connection.
Enable STARTTLS for incoming mail connection (use TLS after initial connection).
Verify the SSL certificate of the incoming mail server.
Outgoing Mail (SMTP)
SMTP server address (e.g., smtp.example.com).
Port for outgoing mail. Common values:
- 587 (SMTP with STARTTLS)
- 465 (SMTP with SSL)
- 25 (SMTP without encryption)
Enable TLS for SMTP connection.
Enable SSL for SMTP connection.
Verify the SSL certificate of the SMTP server.
Incoming/Outgoing Options
These options apply to all email account types:If enabled, tickets can be created from incoming emails on this account.Incoming emails are automatically appended to HD Ticket doctype.
If enabled, outgoing emails can be sent from this account.
If enabled, all replies to your company will come to this account.Note: Only one account can be set as default incoming.
If enabled, all outgoing emails will be sent from this account.Note: Only one account can be set as default outgoing.
Default Configuration
All email accounts are created with these defaults:email_sync_option: “ALL” (sync all emails)initial_sync_count: 100 (sync last 100 emails on first sync)create_contact: 1 (automatically create contacts from emails)track_email_status: 1 (track delivery and read status)use_imap: 1 (use IMAP instead of POP3)- INBOX folder is automatically configured for HD Ticket creation
Creating an Email Account
Using the API:Email Domain
For custom configurations, you can create reusable Email Domain doctypes with server settings that can be selected when configuring email accounts. This is useful for organizations with multiple email accounts on the same domain. Navigate to/desk/email-domain/new-email-domain to create an Email Domain.
Troubleshooting
- Authentication Failed: Ensure you’re using app-specific passwords for Gmail, Outlook, Yahoo, and Yandex
- Connection Timeout: Verify server addresses and ports are correct
- SSL Errors: Try disabling SSL certificate validation for testing (not recommended for production)
- Not Receiving Emails: Check that
enable_incomingis enabled and INBOX folder is configured