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

JetEmail

Use the JetEmail API from TypeScript and Node.js to send transactional email with CC, BCC, reply-to, custom headers, attachments, and idempotent retries.

Capabilities

Repeated headers Idempotency Scheduling Personalized
No native No expanded

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

The JetEmail adapter calls JetEmail’s transactional POST /email endpoint with plain fetch. 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 to send for real. The dry run already enforces JetEmail’s local rules (the display-name requirement on from, the 50-address caps), so what a live send actually tests is the transactional_ key and whether your sending domain is verified on JetEmail’s side.

Frequently asked questions

Does Email SDK support JetEmail?

Yes. Email SDK ships a JetEmail adapter imported from @opencoredev/email-sdk/jetemail. You keep your JetEmail 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 JetEmail adapter support?

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

Can JetEmail schedule email for later with Email SDK?

No. JetEmail 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 JetEmail adapter support idempotent sends?

Yes. The JetEmail adapter passes an idempotency key to the provider, so JetEmail deduplicates repeated sends on its side.

Last updated on