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

MailPace

Send through the MailPace API — a deliberately minimal adapter for address fields and body content.

The MailPace adapter calls the MailPace send API over fetch — no extra dependency. It is the smallest adapter surface in the SDK: addresses, subject, and body only, with recipient lists serialized as comma-separated strings.

MailPace logo
MailPace@opencoredev/email-sdk/mailpace
Provider docs

Configure

Create a server token in the MailPace dashboard and verify the sending domain.

PropType
apiKeystring

MailPace server token, sent as the MailPace-Server-Token header.

Typestring
baseUrl?string

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

Typestring
Default"https://app.mailpace.com/api/v1"
fetch?typeof fetch

Custom fetch implementation for tests or special runtimes.

Typetypeof fetch

Send

MailPace maps cc, bcc, and replyTo alongside html/text (sent as htmlbody/textbody). That is the whole surface — a good fit for sign-in alerts, receipts, and other plain notifications.

Verify from the CLI

Drop --dry-run for one real send to confirm the token and verified domain work end to end.

Last updated on