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

Unosend

Send through the Unosend REST API — a single Bearer-authenticated endpoint with CC, BCC, tags, and attachments.

The Unosend adapter calls the Unosend REST API over fetch — no extra dependency. It is one of the simplest providers to wire up: one Bearer-authenticated /emails endpoint, one API key, no other configuration.

Unosend logo
Unosend@opencoredev/email-sdk/unosend
Provider docs

Configure

Create a server-side API key in your Unosend account and verify the domain you send from.

PropType
apiKeystring

Unosend API key.

Typestring
baseUrl?string

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

Typestring
Default"https://api.unosend.co"
fetch?typeof fetch

Custom fetch implementation for tests or special runtimes.

Typetypeof fetch

Send

Unosend maps cc, bcc, headers, tags, attachments, and a single replyTo address.

The adapter checks success in the response body and throws an EmailProviderError when Unosend reports a failure, even on an HTTP 200.

Verify from the CLI

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

Last updated on