feat(examples): add Brevo example
Merged
MM
2mo ago+78+78+01234567890123456789-0-0-0123456789
Adds an example showing how to send a react-email template through Brevo's transactional API, using the official @getbrevo/brevo SDK (v6, the new BrevoClient interface).
Follows the structure of the existing plunk example: render the template, pass the HTML to sendTransacEmail. Verified the call shape against the v6.0.2 types.
Happy to add other providers if useful.
Summary by cubic
Adds a working Brevo example that renders a react-email template and sends it via Brevo’s transactional API using the v6 BrevoClient from @getbrevo/brevo. This gives users a minimal, copy-pastable setup to test sending HTML emails with Brevo.
- New Features
- New example at
examples/brevowith a simpleEmailcomponent andindex.tsxthat callstransactionalEmails.sendTransacEmail. - Uses
BREVO_API_KEYfrom env and ESM build viatsdowntargeting Node 20. - Adds pinned deps:
@getbrevo/brevo@6.0.2,react-email@6.0.3,react,react-dom.
- New example at