Skip to content
You're viewing documentation for v0.6.3. It may be out of date.Go to latest
Email SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

AWS SES

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

The SES adapter calls the SES v2 SendEmail API over fetch and signs every request with AWS Signature V4 itself — your bundle never pulls 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).

Verify from the CLI

--session-token and --configuration-set flags are also available. Drop --dry-run for one real send — that is the only check that proves the identity is verified and the account is out of the sandbox.

Last updated on