Skip to content
Email SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

AWS SES

Send through the SES v2 SendEmail API with built-in SigV4 signing and no AWS SDK dependency.

Capabilities

Repeated headers Idempotency Scheduling Personalized
Yes none No expanded

These values come from the adapter’s exported capabilities declaration. The field support matrix covers normalized message fields.

The SES adapter calls the SES v2 SendEmail API with plain fetch and implements AWS Signature V4 signing itself, so your bundle does not pull in the AWS SDK. Pick a region, optionally a configuration set, and send.

AWS SES logo
AWS SES@opencoredev/email-sdk/ses
Provider docs

Configure

Use credentials allowed to call SES v2 SendEmail in your region, and verify the sender identity in that same region. New AWS accounts start in the SES sandbox, which limits recipients to verified addresses.

PropType
accessKeyIdstring

AWS access key ID.

Typestring
secretAccessKeystring

AWS secret access key.

Typestring
regionstring

SES region, e.g. us-east-1.

Typestring
sessionToken?string

Session token for temporary credentials (STS, IAM roles).

Typestring
configurationSetName?string

SES configuration set applied to every send.

Typestring
charset?string

Charset for subject and body content.

Typestring
Default"UTF-8"
baseUrl?string

Override the API origin.

Typestring
Default"https://email.{region}.amazonaws.com"
fetch?typeof fetch

Custom fetch implementation for tests or special runtimes.

Typetypeof fetch

Send

SES maps cc, bcc, replyTo, headers, attachments, and tags (as SES EmailTags, which flow to configuration-set event destinations). SES accepts at most 15 headers per message, so a message with more fails with EmailValidationError before the request.

Verify from the CLI

The CLI reads AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and AWS_SESSION_TOKEN from the environment, so keep credentials there rather than in command-line flags. --session-token and --configuration-set flags are also available. Drop --dry-run for one real send. It is the only way to prove the identity is verified and the account is out of the SES sandbox.

Moving from Resend to SES? Resend alternatives walks through the cutover with Resend kept as the fallback.

Estimating the bill? Amazon SES pricing covers the Essentials plan, à la carte rates, and cost by volume.

Compare AWS SES with other providers

Side-by-side message-field support from the SDK capability matrix, with working code for both adapters:

Frequently asked questions

Does Email SDK support AWS SES?

Yes. Email SDK ships a AWS SES adapter imported from @opencoredev/email-sdk/ses. You keep your AWS SES account and credentials; the SDK adds message validation, typed errors, and no-network test adapters around the same send() call used for every other provider.

Which message fields does the AWS SES adapter support?

AWS SES supports CC recipients, BCC recipients, Reply-To address, Custom headers, Attachments, and Tags. It does not support Metadata and Scheduled sending (sendAt); Email SDK rejects a message that uses those fields before any request is made.

Can AWS SES schedule email for later with Email SDK?

No. AWS SES has no provider-side scheduling, so a message with sendAt fails validation. Store the job in your own queue and send when it is due.

Does the AWS SES adapter support idempotent sends?

No. AWS SES has no provider-side idempotency, so a retried send can be delivered twice. A send with idempotencyKey on a route that includes AWS SES fails with EmailValidationError unless you pass idempotency: “best-effort”. Deduplicate in your own queue before retrying.

Last updated on