Skip to main content

Available providers

Amazon SES

SendGrid

Postmark

Mailgun

Resend

SMTP

Mandrill

SparkPost

Mailjet

MailerSend

Amply

Gmail

OneSignal

SMTP is the generic relay for any server that speaks it. Gmail is OAuth-based and suits testing rather than volume. Courier isn’t an email provider. It sends through the providers you connect, such as Amazon SES, SendGrid, Postmark, or Resend, and adds templates, user preferences, message logs, and more channels on top. Connect a second provider and Courier fails over to it when the first returns an error. Paid providers bill you for delivery under their own pricing, and Courier bills per send.

Profile requirements

Every email provider addresses the recipient the same way, by email address, so the profile you send to needs an email. Store it once with POST /profiles/{user_id}, which merges into the profile and creates it if it doesn’t exist:
A provider that also accepts an inline address still reads email off the profile when you send to a user_id, which is what lets preferences apply and lets the address change without touching your send code.

Send to a recipient

Courier reads email off the saved profile, so preferences apply and the address can change without touching this code.

Channel overrides

How overrides work covers the two levels and which one wins. These are the fields an email channel override accepts. The sender is the field most often overridden. With no override and no template From, an email goes out as the From Address on the provider’s integration. Send from your own domain covers all three levels. Postmark, Amply, and MailerSend also accept a sender inside a provider override at override.config.fromAddress. On MailerSend that value beats a channel override, and on the other two the channel override still wins.

Available channel override fields

Every field you can set in message.channels.email.override. All are optional. Set any of them under channels.email.override on the send. The table above is the full list:

Brand override

The channels.email.override.brand property uses the same schema as the POST /brands request payload. You can override:
  • logo
  • top bar color
  • brand colors
Example:

Allowlist for AWS IP addresses

Some providers, such as Mailgun, let you allowlist the IP addresses that reach their API. Courier runs on AWS and doesn’t publish an IP range to allowlist. Instead, subscribe to the AmazonIpSpaceChanged topic to get notified when AWS IP ranges change. See the AWS documentation.