Send email from Netlify
Store your Brevo API key as a secret Netlify environment variable, then call Brevo's REST API from your Netlify Functions to send transactional email.

What teams build with Brevo on Netlify
Set it up
Create your Brevo API key
In Brevo, go to Settings > SMTP & API > API Keys & MCP, click Generate a new API key and name it so you can recognize it. The key is displayed once. Then verify your sender and authenticate your domain.
Netlify environment variables
Add the key as an environment variable in the Netlify UI, CLI or API, and mark it as Contains secret values for additional access restrictions with the Secrets Controller.
Send and check the logs
Variables with the Functions scope reach your functions at run time. POST to https://api.brevo.com/v3/smtp/email with the key in the api-key header; the messageId in the response tracks the email in the transactional logs.



What you can do with Brevo on Netlify
Send transactional email
Transactional emails are automated, non-promotional messages triggered by user actions such as account creation, order confirmations and password resets. The Free plan includes 300 emails a day.
Manage contacts through the API
Brevo's API manages contacts, tracks custom events, and syncs eCommerce data.
Receive transactional events by webhook
When an event occurs, Brevo sends an HTTP POST request in real time to the notification URL you define. Transactional email events include sent, delivered, opened and clicked.
Beyond email
Brevo's API sends messages across email, SMS, and WhatsApp.



