Adapters
MailPace
Configure the MailPace send API adapter.
MailPace
email-sdk/mailpaceimport { createEmailClient } from "email-sdk";
import { mailpace } from "email-sdk/mailpace";
const email = createEmailClient({
adapters: [mailpace({ apiKey: process.env.MAILPACE_API_KEY! })],
});Options
| Option | Type | Required | Notes |
|---|---|---|---|
apiKey | string | Yes | MailPace server token. |
baseUrl | string | No | Defaults to https://app.mailpace.com/api/v1. |
fetch | typeof fetch | No | Useful for tests or custom runtimes. |
MailPace supports CC, BCC, and reply-to. Unsupported fields throw before the API call.