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

JetEmail

Send through the JetEmail transactional API over fetch — CC, BCC, reply-to, custom headers, and base64 attachments, with idempotent retries.

The JetEmail adapter calls JetEmail’s transactional POST /email endpoint over fetch — no extra dependency. JetEmail runs its own sending infrastructure (anycast IPs, managed reputation), and the adapter maps the normalized EmailMessage straight onto its REST payload.

JetEmail logo
JetEmailLive check available@opencoredev/email-sdk/jetemail
Provider docs

Configure

Create a JetEmail transactional API key (prefixed transactional_) in the JetEmail dashboard and verify the domain you send from.

PropType
apiKeystring

JetEmail transactional API key (prefixed transactional_).

Typestring
baseUrl?string

Override the API origin, e.g. for a proxy.

Typestring
Default"https://api.jetemail.com"
fetch?typeof fetch

Custom fetch implementation for tests or special runtimes.

Typetypeof fetch
headers?Record<string, string>

Extra headers merged into every request.

TypeRecord<string, string>

Send

JetEmail accepts up to 50 recipients each across to, cc, and bcc, and maps headers to custom email headers. Attachments are base64-encoded automatically (40MB total).

Idempotent sends

Pass an idempotencyKey and the adapter forwards it as JetEmail’s Idempotency-Key header, so a retried send with the same key and body replays the original response instead of sending twice.

Verify from the CLI

Drop --dry-run for one real smoke send — the only check that proves the API key and sender domain are ready.

Last updated on