Skip to content
You're viewing documentation for v0.6.0. It may be out of date.Go to latest
Email SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

Brevo

Configure the Brevo transactional email adapter.

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

Brevo maps the transactional email API to the shared Email SDK message shape, including metadata as template params, tag values as Brevo tags, and attachments as Base64 content.

Before live sends

Create a Brevo SMTP/API key that can send transactional email, verify the sender or domain you use in from, and confirm the account is allowed to send to your target recipients. A dry run checks SDK validation only; a live smoke send is still required for account readiness.

Configure

Use baseUrl only for test doubles or Brevo-compatible gateways.

Send

Brevo supports one replyTo address. The adapter rejects unsupported shapes before it calls Brevo, so fallback routes do not silently lose fields.

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.

Response

The adapter maps Brevo messageId or id to the normalized id and messageId fields.

CLI smoke test

Last updated on