Skip to content
Email SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

Brevo

Send through the Brevo transactional email API with full field support and metadata mapped to template params.

Capabilities

Repeated headers Idempotency Scheduling Personalized
No none Yes expanded

These values come from the adapter’s exported capabilities declaration. The field support matrix covers normalized message fields.

The Brevo adapter calls the Brevo transactional email API with plain fetch. It authenticates with Brevo’s api-key header (not a Bearer token), supports every common field, and maps metadata to Brevo’s params, the same values Brevo templates substitute.

New to the Brevo API itself? The Brevo API guide for Node.js and TypeScript walks through raw requests, scheduling, batch sends, idempotency keys, rate limits, and webhooks before it gets to this adapter.

Brevo logo
Brevo@opencoredev/email-sdk/brevo
Provider docs

Configure

Create an API key under SMTP & API in the Brevo dashboard and verify the sender or domain you use in from.

PropType
apiKeystring

Brevo API key, sent as the api-key request header.

Typestring
baseUrl?string

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

Typestring
Default"https://api.brevo.com"
fetch?typeof fetch

Custom fetch implementation for tests or special runtimes.

Typetypeof fetch

Send

Brevo maps cc, bcc, headers, attachments, tags (values only), and metadata (as params). replyTo accepts a single address; two or more throw an EmailValidationError before any request. sendAt maps to Brevo’s scheduledAt (ISO 8601), so scheduling happens on Brevo’s side. Brevo accepts at most 72 hours in the future.

The response id is Brevo’s messageId (falling back to the provider’s id field). Match it against events in Brevo’s logs and webhooks.

Verify from the CLI

Drop --dry-run for one real send to confirm the key, sender verification, and recipient policy end to end.

Compare Brevo with other providers

Side-by-side message-field support from the SDK capability matrix, with working code for both adapters:

Frequently asked questions

Does Email SDK support Brevo?

Yes. Email SDK ships a Brevo adapter imported from @opencoredev/email-sdk/brevo. You keep your Brevo account and credentials; the SDK adds message validation, typed errors, and no-network test adapters around the same send() call used for every other provider.

Which message fields does the Brevo adapter support?

Brevo supports every normalized message field: CC recipients, BCC recipients, Reply-To address, Custom headers, Attachments, Tags, Metadata, and Scheduled sending (sendAt).

Can Brevo schedule email for later with Email SDK?

Yes. Set sendAt on the message and the Brevo adapter passes the scheduled time to the provider.

Does the Brevo adapter support idempotent sends?

No. Brevo has no provider-side idempotency, so a retried send can be delivered twice. A send with idempotencyKey on a route that includes Brevo fails with EmailValidationError unless you pass idempotency: “best-effort”. Deduplicate in your own queue before retrying.

Last updated on