Who does what
Your provider keeps delivering email from the domain you verified with it. Courier decides where each message goes.Prerequisites
- A Courier Test API key
- The provider credentials and verified sending domain your app uses today
- A Courier SDK in your server code, or
curl
Move one email
1
Connect your provider in Courier
Open Integrations, pick your provider, and paste the same credentials your app uses: an API key for most providers, or access keys or an IAM role plus your region for Amazon SES. Each provider’s page lists its fields: Resend, SendGrid, Postmark, Amazon SES, and the rest.Set the From address to one on the domain you already verified, and your DNS stays as it is. Include the display name, as in
Acme Support <support@acme-corp.com>, or it’s lost. A template’s From field or a send’s channels.email.override.from takes priority over this default, as Send from your domain explains.Integrations are per environment, so connect it in the environment your API key belongs to. In Test, the Courier Test Email Provider stays connected too, so put yours first in channel priority.2
Send the same email through Courier
Find one place your app calls its provider directly. Here is a typical Resend call:Replace it with a Courier send.
Before
user_id is your own id for the person, which Courier uses for the inbox in the next step. title becomes the subject and body the message, and the From address comes from the integration.3
Send it to the inbox too
Add To show those messages in your app, add the inbox component and sign the user in with the same
inbox to the channels and switch the method to all. Courier sends the email through your provider and puts the same message in the user’s inbox.user_id. Courier Inbox comes installed in every workspace, so there’s no integration to add.Verify
1
Check your provider
The email shows up in your provider’s own log, such as Resend’s Emails page, sent from your domain. That proves Courier used your account.
2
Check Courier
Open Logs and find the message. It lists both channels, and its timeline shows a send through your provider and one through Courier Inbox.
What changes in production
Move one notification at a time. Swap one send call, check it in Logs, then do the next. The rest of your app keeps calling the provider directly until you get to it. Your sending reputation carries over, because the same account and domain send everything. Courier renders its own HTML fromcontent, and click tracking rewrites links when it’s on, so look at one real message before moving more.
Add a backup provider. Connect a second email provider and Courier fails over to it when the first can’t take the message or returns an error, after retrying temporary errors. A bounce doesn’t trigger failover.
Let users choose. Preferences let each person turn a topic off or pick its channels. Map a send to a topic, on its template or with preferences.subscription_topic_id, and Courier applies them at send time.
Move copy into templates. Inline content is fine to start. A template lets someone edit the wording and design without a deploy.
FAQ
Does Courier replace Resend or SendGrid?
Does Courier replace Resend or SendGrid?
Courier doesn’t replace your email provider. It calls Resend, SendGrid, Postmark, Amazon SES, or another provider with your API key, and adds the inbox, preferences, routing, and logs on top.
Do I have to change DNS or my sending domain?
Do I have to change DNS or my sending domain?
Your DNS and sending domain stay as they are, because your provider still sends the email. Set Courier’s From address to one on the domain you already verified with that provider.
Who bills for what when I use Courier with my email provider?
Who bills for what when I use Courier with my email provider?
Your email provider bills for email delivery under its own pricing, and Courier bills per send. Courier counts sends, not deliveries, so a multi-channel template to one person is one send even when it delivers email and an inbox message.
Can I keep calling my provider directly for some emails?
Can I keep calling my provider directly for some emails?
Calling your provider directly for some emails works fine alongside Courier. Move notifications over one at a time, and keep direct calls for anything you’d rather not route through Courier.