Adapters
Brevo
Configure the Brevo transactional email adapter.
Brevo
email-sdk/brevoimport { createEmailClient } from "email-sdk";
import { brevo } from "email-sdk/brevo";
const email = createEmailClient({
adapters: [brevo({ apiKey: process.env.BREVO_API_KEY! })],
});Options
| Option | Type | Required | Notes |
|---|---|---|---|
apiKey | string | Yes | Brevo API key. |
baseUrl | string | No | Defaults to https://api.brevo.com. |
fetch | typeof fetch | No | Useful for tests or custom runtimes. |
See field support for headers, tags, metadata, and attachments.