back to the showroom

CourierX

One email API, six providers. When one fails, it tries the next.

  • Go
  • email
  • failover
The CourierX logo: an X with a speeding envelope
our role
design and engineering
stack
Go, Ruby on Rails, Next.js, Postgres, Redis

break it yourself.

Press a provider to knock it out, then send the email. It tries each one in order until one works. If the address is bad, it stops: no other provider can fix that.

ready. nothing sent yet.

A simulation: no email is sent and nothing leaves your browser. The stop-or-try-next rule comes from CourierX's routing code. The provider order is an example.

the problem

When your email provider goes down, sign-in codes and receipts stop arriving. Often the first people to notice are your users.

how it works

CourierX puts one API in front of six ways to send email: SendGrid, Mailgun, Amazon SES, Postmark, Resend and plain SMTP. It tries them in the order you choose.

The important part is knowing when not to switch:

  • The provider has a problem, such as a timeout, a rate limit or a broken API key: try the next one.
  • The address or message is bad: stop. Another provider would reject it too.

If every provider fails, the error keeps its cause, so your app knows whether to try again.

under the hood

The email engine is written in Go, the control API in Rails, and the dashboard in Next.js.

Got something half-built? Send it over.