← All migration guides

Migration guide / Transactional email

Migrate from Amazon SES to SMTPfast.

SMTPfast sends through Amazon SES, so you keep its delivery and drop the SigV4, SNS and configuration set plumbing.

SMTPfast is built on Amazon SES. Moving from your own SES account means you stop running the parts around it: IAM keys and SigV4 signing, configuration sets, SNS topics or EventBridge rules for events, and a suppression list you query with the AWS CLI. In return you pay SMTPfast's plan price instead of SES's per-email price.

Amazon SES details checked against its own docs on 2026-12-02. Still deciding? SMTPfast vs Amazon SES.

Move to SMTPfast if

  • You built webhooks, logs and bounce handling on top of SES and would rather not keep them running.
  • You want a plain HTTPS API with a Bearer key, or SMTP with an API key as the password.
  • You want marketing opt-outs, contacts and broadcasts next to your transactional mail.

Stay on Amazon SES if

  • Price per email is what matters most at your volume: SES alone costs less.
  • You need dedicated IPs, Virtual Deliverability Manager, a region of your choice, or raw MIME sends.
  • Your pipeline already reads SES events from Kinesis Firehose, CloudWatch or EventBridge.

The code change.

Before: Amazon SES

import { SESv2Client, SendEmailCommand } from "@aws-sdk/client-sesv2";

const ses = new SESv2Client({ region: "us-east-1" });

await ses.send(new SendEmailCommand({
  FromEmailAddress: "Acme <[email protected]>",
  Destination: { ToAddresses: ["[email protected]"] },
  Content: {
    Simple: {
      Subject: { Data: "Your receipt" },
      Body: { Html: { Data: "<p>Thanks for your order.</p>" } },
    },
  },
  EmailTags: [{ Name: "type", Value: "receipt" }],
  ConfigurationSetName: "production",
}));

After: SMTPfast

curl -X POST https://smtpfa.st/api/v1/emails \
  -H "Authorization: Bearer $SMTPFAST_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "Acme <[email protected]>",
    "to": [
      "[email protected]"
    ],
    "subject": "Your receipt",
    "html": "<p>Thanks for your order.</p>",
    "tags": [
      {
        "name": "type",
        "value": "receipt"
      }
    ],
    "category": "transactional"
  }'

What maps to what.

Sending
Amazon SESSMTPfast
SendEmail (SigV4, IAM credentials)POST /v1/emails, Authorization: Bearer KEY
FromEmailAddress, ReplyToAddressesfrom, reply_to
Destination.ToAddresses / CcAddresses / BccAddressesto, cc, bcc
Content.Simple.Subject / Body.Html / Body.Textsubject, html, text
Content.Simple.Headers [{ Name, Value }]headers { "Name": "Value" }
Content.Simple.Attachments [{ FileName, RawContent, ContentType, ContentId }]attachments [{ filename, content, content_type, content_id }]
Content.Raw (raw MIME)No equivalentSend the parts as fields, or send the message over SMTP.
EmailTags [{ Name, Value }]tags [{ name, value }]
ConfigurationSetNameNot neededEvents and suppression checks apply to every email. Open and click tracking follow your account settings or the track_opens and track_clicks fields.
No scheduled sendscheduled_at (up to 30 days)
SMTP
Amazon SESSMTPfast
Host email-smtp.<region>.amazonaws.comHost smtp.smtpfa.st
Ports 25, 587, 2587 (STARTTLS), 465, 2465 (TLS wrapper)Ports 587 and 2525, STARTTLSThere is no implicit TLS port (465). Use 587, or 2525 where 587 is blocked.
Username SMTP user name (per region)Username smtpfast
Password SMTP password derived from IAMAn SMTPfast API key with the email:send scope
Events
Amazon SESSMTPfast
Sendemail.sent
Deliveryemail.delivered
DeliveryDelayNo equivalentemail.delivery_delayed fires when SMTPfast retries handing the email to SES, not for delays at the receiving server.
Bounceemail.bouncedbounce_type and bounce_sub_type are SES's own values, passed through.
Complaintemail.complained
Reject, Rendering FailureNo equivalentemail.failed fires when SMTPfast gives up sending an email.
Open, Clickemail.opened, email.clicked
Subscriptionemail.unsubscribedFor SMTPfast's own unsubscribe link and List-Unsubscribe header.
SNS, EventBridge, Firehose or CloudWatch destinationsA signed HTTPS webhook and the Logs API
Templates and suppressions
Amazon SESSMTPfast
Template, TemplateData (escaped JSON), {{name}}template: { id, variables } with {{{NAME}}}variables is an object, not a JSON string. No Handlebars logic.
Account suppression list (BOUNCE, COMPLAINT)Suppressions, scope all
ListManagementOptions (contact lists, topics)Contacts and topics

Step by step.

  1. 1

    Add and verify your sending domain

    Add the domain in the dashboard (or with POST /v1/domains) and publish the records it shows: three DKIM CNAMEs, an MX and an SPF TXT record for the bounce subdomain (MAIL FROM), and include:amazonses.com in the SPF record of the domain. A domain has one SPF record, so add the include to the one you have. The DKIM and bounce records have their own names, so they sit next to your current provider's records and both can send while you switch. Keep your DMARC record if you have one. On Cloudflare DNS, SMTPfast can add the records for you.

  2. 2

    Create an API key

    Create a key with the email:send scope for the app that sends. Give webhook and contact jobs their own keys with only the scopes they need (webhook:write, contact:write).

  3. 3

    Replace the SendEmail call

    Swap the SES client for an HTTPS call or @smtpfast/sdk and flatten the Content and Destination objects. Remove the configuration set. Add category: "transactional" to mail people need, because an email without it is marketing and gets an unsubscribe link.

  4. 4

    Copy your suppression list

    Page through ListSuppressedDestinations (aws sesv2 list-suppressed-destinations) and add the addresses with POST /v1/suppressions/batch/add, 100 per call. SES lists only hard bounces and complaints there; unsubscribes live in your own system or in SES contact lists.

    aws sesv2 list-suppressed-destinations --query 'SuppressedDestinationSummaries[].EmailAddress' --output text
  5. 5

    Point your webhooks at the new events

    Create a webhook for the email.* events your SNS or EventBridge handler processed and check the X-SMTPfast-Signature header: a hex HMAC-SHA256 of the raw body with the webhook's signing secret. Every event body is { type, timestamp, data }. Failed deliveries are retried 4 more times over about 36 minutes, and you can replay any of them from the delivery log.

    import crypto from "node:crypto";
    
    // rawBody: the request body exactly as received, before JSON.parse
    function isFromSmtpfast(rawBody: string, signature: string, secret: string) {
      const expected = crypto.createHmac("sha256", secret).update(rawBody).digest();
      const given = Buffer.from(signature, "hex");
      return given.length === expected.length && crypto.timingSafeEqual(given, expected);
    }
  6. 6

    Send a test and move traffic in stages

    Send to an address you own and check the email in Logs, then in the received message headers (DKIM and SPF pass, aligned with your From domain). Move one kind of mail first, such as password resets, and watch bounces and complaints for a few days before you move the rest. A new account has warm-up limits, so a large list should not move in one day.

What SMTPfast does not have

Check these before you move. If one is a blocker, stay where you are.

  • SMTPfast costs more per email than SES alone. Compare at your volume on the pricing page.
  • No raw MIME sends, no dedicated IPs, no choice of region.
  • Templates have plain variables only.
  • No event streams to Firehose, CloudWatch or EventBridge: events arrive by webhook or the Logs API.
  • No implicit TLS SMTP port. Webhooks need a paid plan.

Frequently asked questions.

My domain is already verified in my SES account. Does that conflict?

No. SMTPfast gives your domain its own DKIM CNAMEs, which sit next to the ones you have, so both can sign mail during the switch. If your SES setup uses a MAIL FROM subdomain with the same name as the one SMTPfast shows, compare the MX values before you change anything. Remove your old records once nothing sends through your account.

Why pay for SMTPfast if it runs on SES?

For the parts SES leaves to you: signed webhooks with retries and a delivery log, searchable Logs, per-email categories with one-click unsubscribe, contacts and broadcasts, templates by alias, and an MCP server. If you already run all of that well, raw SES is cheaper.

Try it on the free plan

Verify a domain, send a test and check it in Logs before you move any traffic. Webhooks and inbound mail need a paid plan.