Email (SMTP) Integration
Set up an SMTP/IMAP connection to send and receive email through DOLU.ai.
Supported Providers
| Provider | SMTP Server | Port | Notes |
|---|---|---|---|
| Gmail | smtp.gmail.com | 587 | App password required |
| Outlook / Microsoft 365 | smtp.office365.com | 587 | Modern authentication |
| Yandex | smtp.yandex.com | 465 | SSL required |
| Resend | smtp.resend.com | 465 | With API key |
| Custom SMTP | - | 587/465 | Any SMTP server |
Setup
Step 1: Add Channel
- Go to the Settings > Channels page
- Click the Add Channel button
- Select the Email option
Step 2: SMTP Settings
Enter the sender (SMTP) information:
- SMTP Server: e.g.
smtp.gmail.com - Port: 587 (TLS) or 465 (SSL)
- Username: Your email address
- Password: App password (for Gmail)
- Encryption: TLS (recommended) or SSL
Step 3: IMAP Settings (Optional)
IMAP connection to read incoming emails:
- IMAP Server: e.g.
imap.gmail.com - Port: 993 (SSL)
- Username: Your email address
- Password: Same app password
Step 4: Test Send
- Click the Test Connection button
- Send a test email
- Check your inbox
Gmail Special Settings
If you are using Gmail, the regular password will not work. You need to create an App Password:
- Go to Google Account Settings
- 2-Step Verification must be enabled
- Go to the App Passwords section
- Create a password for the Mail app
- Enter the generated 16-digit password in DOLU.ai
Caution
You cannot use your regular Gmail password. Google requires an app password for third-party applications.
Email Templates
You can create templates for campaigns and automatic deliveries:
Variables
You can use the following variables in templates:
| Variable | Description |
|---|---|
{{firstName}} | Contact's first name |
{{lastName}} | Contact's last name |
{{email}} | Email address |
{{company}} | Company name |
{{customField.X}} | Custom field value |
Troubleshooting
| Issue | Solution |
|---|---|
| Connection error | Check SMTP server and port information |
| Authentication error | Check username and password; use app password for Gmail |
| Email going to spam folder | Configure SPF, DKIM, and DMARC records |
| Sending limit | Check your provider's daily sending limit |
API Reference
See the Messages API for email APIs.
