Skip to content

Email (SMTP) Integration ​

Set up an SMTP/IMAP connection to send and receive email through DOLU.ai.

Supported Providers ​

ProviderSMTP ServerPortNotes
Gmailsmtp.gmail.com587App password required
Outlook / Microsoft 365smtp.office365.com587Modern authentication
Yandexsmtp.yandex.com465SSL required
Resendsmtp.resend.com465With API key
Custom SMTP-587/465Any SMTP server

Setup ​

Step 1: Add Channel ​

  1. Go to the Settings > Channels page
  2. Click the Add Channel button
  3. 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 ​

  1. Click the Test Connection button
  2. Send a test email
  3. Check your inbox

Gmail Special Settings ​

If you are using Gmail, the regular password will not work. You need to create an App Password:

  1. Go to Google Account Settings
  2. 2-Step Verification must be enabled
  3. Go to the App Passwords section
  4. Create a password for the Mail app
  5. 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:

VariableDescription
{{firstName}}Contact's first name
{{lastName}}Contact's last name
{{email}}Email address
{{company}}Company name
{{customField.X}}Custom field value

Troubleshooting ​

IssueSolution
Connection errorCheck SMTP server and port information
Authentication errorCheck username and password; use app password for Gmail
Email going to spam folderConfigure SPF, DKIM, and DMARC records
Sending limitCheck your provider's daily sending limit

API Reference

See the Messages API for email APIs.

DOLU.ai - AI-Powered CRM Platform