Sending

How to migrate from Amazon SES to an email API

Short answer

To migrate from Amazon SES, export your account-level suppression list, verify your domain with the new provider, replace the SendEmail call or SMTP credentials, and swap SNS or EventBridge event handling for HTTP webhooks. Move inbound receipt rules last. People usually leave SES for the work around it, not the sending: dashboards, webhooks, bounce handling and sandbox reviews. Expect to pay more per email for that.

Last checked 16 November 2026

To migrate from Amazon SES, keep SES running while you set up the new provider: export your suppression list, verify your domain, swap the send call or SMTP settings, replace SNS or EventBridge event handling with webhooks, move inbound rules, and then shift traffic over gradually. SES has no lock-in on the sending side, so the move is mostly about the plumbing you built around it.

This guide uses Mailcandor as the destination. Mailcandor itself delivers through Amazon SES (us-east-1), so you keep the same underlying delivery network and drop the work around it.

Why teams leave SES

SES is infrastructure. It sends mail cheaply and leaves the rest to you. Common reasons to move:

  • Events need AWS plumbing. SES publishes sending events through configuration sets to SNS, EventBridge, Firehose, CloudWatch or Pinpoint, not straight to an HTTP endpoint.
  • The sandbox. New accounts start in the SES sandbox, limited to verified recipients, 200 messages per 24 hours and 1 message per second, until a production access request is approved.
  • Reviews are opaque. The SES enforcement FAQ says AWS can typically give “only a high-level overview” of an issue.
  • No product layer. No built-in broadcasts with unsubscribe, no plain-English bounce explanations, no per-team roles for non-engineers.

If none of these bother you, staying on SES is a reasonable choice. See our Amazon SES pricing guide for the cost side.

Migration checklist

Item in SES What to do
Account-level suppression list Export it and keep blocking those addresses
Verified domain identity, Easy DKIM Add the new provider’s DNS records alongside
SendEmail / SendRawEmail Replace with an HTTPS call
SMTP credentials Change host, username and password
Configuration sets and event destinations Replace with webhooks
Templates Render in your app
Receipt rules (inbound) Point MX at the new provider, or keep as is
Message tags Map to tags

Step 1: export suppressions

If you use the SES account-level suppression list, export it with the SES API (ListSuppressedDestinations in API v2) and keep those addresses blocked in your own database. Sending to them again from a new account would raise your bounce and complaint rates right away.

Step 2: verify your domain

Add your domain in Mailcandor. You get three DKIM CNAMEs, an SPF record and a bounce MX on send.<domain>, plus DMARC advice. Leave your existing SES records in place until the move is complete. See our SPF, DKIM and DMARC guide.

Step 3: replace the send call

A typical SES v2 send with the AWS SDK for JavaScript:

// Before: Amazon SES (AWS SDK v3)
import { SESv2Client, SendEmailCommand } from '@aws-sdk/client-sesv2';

const ses = new SESv2Client({ region: 'us-east-1' });
await ses.send(new SendEmailCommand({
  FromEmailAddress: 'Acme <hello@acme.com>',
  Destination: { ToAddresses: ['sam@example.com'] },
  Content: {
    Simple: {
      Subject: { Data: 'Your receipt' },
      Body: { Html: { Data: '<p>Thanks for your order.</p>' } },
    },
  },
  EmailTags: [{ Name: 'type', Value: 'receipt' }],
}));

The same email through Mailcandor, with no SDK:

// After: Mailcandor
const res = await fetch('https://api.mailcandor.com/v1/emails', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.MAILCANDOR_KEY}`,
    'Content-Type': 'application/json',
    'Idempotency-Key': 'order-1042-receipt',
  },
  body: JSON.stringify({
    from: 'Acme <hello@acme.com>',
    to: 'sam@example.com',
    subject: 'Your receipt',
    html: '<p>Thanks for your order.</p>',
    tags: [{ name: 'type', value: 'receipt' }],
  }),
});
if (!res.ok) {
  const { error } = await res.json();
  throw new Error(`${error.type}: ${error.message}`);
}

Mapping notes:

  • Destination.CcAddresses and BccAddresses become cc and bcc. ReplyToAddresses becomes reply_to.
  • SendRawEmail with attachments becomes attachments: [{ filename, content }] with base64 content.
  • SendBulkEmail becomes POST /v1/emails/batch, up to 100 emails per request, without attachments or scheduling.
  • The Idempotency-Key header makes retries safe: a repeated request returns the first response instead of sending twice.

Using SMTP? Change the host from email-smtp.<region>.amazonaws.com to smtp.mailcandor.com, keep port 465 or 587, set the username to mailcandor and the password to your API key. See SMTP relay.

Step 4: replace SNS or EventBridge with webhooks

SES event types map to Mailcandor webhook events like this:

SES event Mailcandor webhook
Send email.sent
Delivery email.delivered
DeliveryDelay email.delivery_delayed
Bounce email.bounced
Complaint email.complained
Reject, RenderingFailure email.failed
Open, Click email.opened, email.clicked

Instead of an SNS subscription or EventBridge rule feeding a Lambda, you register one HTTPS endpoint. Events are signed with Standard Webhooks, retried up to 8 times over about 28 hours, and can be replayed. See webhooks.

Step 5: inbound mail

If you receive mail with SES receipt rules (to S3, Lambda or SNS), Mailcandor’s inbound uses the same MX host: inbound-smtp.us-east-1.amazonaws.com. Each message fires email.received and is readable with GET /v1/emails/receiving, attachments included, with no S3 bucket or Lambda to run. Point the receiving domain’s MX at it once your webhook handler is ready. See inbound email.

Step 6: cut over

  1. Send test and internal mail through the new provider.
  2. Move one stream at a time and watch bounces, complaints and inbox placement.
  3. Keep SES enabled for a week as a fallback.
  4. Remove old configuration sets and DNS records once nothing uses them.

What it costs

SES a la carte is $0.10 per 1,000 emails, according to aws.amazon.com/ses/pricing (checked 16 November 2026). Mailcandor’s Team plan is $39 a month with 100,000 emails included, then $0.40 per 1,000. You pay more per email for the API, webhooks, inbound, broadcasts and deliverability tooling around it. See pricing.

Questions

Why would I move off Amazon SES?

Usually for the parts SES leaves to you: building webhooks from SNS or EventBridge, dashboards, bounce explanations, broadcasts and team access. If you are happy running those yourself, SES is hard to beat on raw price.

Is an email API more expensive than SES?

Yes, per email. SES a la carte is $0.10 per 1,000 emails on its pricing page (checked 16 November 2026). Email APIs charge more because they include the tooling you would otherwise build.

Can I keep using the AWS SDK after switching?

Not for sending to another provider. Replace the SendEmail call with an HTTPS request, or switch your SMTP host and credentials, which needs no code change.

Does Mailcandor use Amazon SES?

Yes. Mailcandor delivers through Amazon SES in us-east-1 and adds the API, webhooks, inbound, broadcasts, deliverability coach and team controls on top.

What happens to my SES templates?

Mailcandor does not import SES templates. Render the HTML in your app and send the finished html and text fields.

Related

Send with someone on your side.

Unlimited domains on every plan, a person before any block, and 3,000 emails a month free. Tell us what you send and we set you up within one business day.