Email SDK
Adapters

MailPace

Configure the MailPace send API adapter.

MailPace logo
MailPace
email-sdk/mailpace
import { createEmailClient } from "email-sdk";
import { mailpace } from "email-sdk/mailpace";

const email = createEmailClient({
  adapters: [mailpace({ apiKey: process.env.MAILPACE_API_KEY! })],
});

Options

OptionTypeRequiredNotes
apiKeystringYesMailPace server token.
baseUrlstringNoDefaults to https://app.mailpace.com/api/v1.
fetchtypeof fetchNoUseful for tests or custom runtimes.

MailPace supports CC, BCC, and reply-to. Unsupported fields throw before the API call.

On this page