Skip to main content
Connect a mailbox over SMTP to send with deliver(). IMAP is optional and used for receiving.
1

Open the form

Go to Emails, Providers and API Keys, choose Add provider, and select the SMTP tab. Title: Connect Email Account (SMTP/IMAP).
2

Pick your provider

Select a preset to fill the host, port and encryption, or choose Other and enter them yourself.
3

Enter the account

Fill in the email address, display name and password or API key. Use a different username only if your provider needs one.
4

Test both sides

Select Test SMTP Connection, and Test IMAP Connection if you use IMAP.
5

Connect and save

Select Connect and Save. Then create an API key.
6

Deliver

Provider presets

These values are the form defaults. Check your provider’s documentation if a connection fails.
Amazon SES uses regional SMTP hosts such as email-smtp.us-east-1.amazonaws.com, and SMTP credentials that differ from your AWS login. Replace the preset host with your region’s host.

Gmail over SMTP

Use an app password, not your normal password.
  1. Turn on 2-step verification for the Google account.
  2. Create an app password and paste it into the password field.
  3. Use host smtp.gmail.com, port 465 with SSL.
For Workspace accounts that should send without app passwords, use the Gmail provider.

Bulk import from CSV

To connect many mailboxes at once, choose Import from CSV in the SMTP tab and upload your list.

Troubleshooting

Confirm SMTP is enabled for the mailbox, and that the host, port and encryption match your provider. If 2FA is on, use an app password.
IMAP is only for receiving. Enable IMAP on the mailbox, or leave it unconfigured if you only send.
fromEmail must match the connected mailbox or an address your provider lets it send as.