Sending
Connect Brevo
Brevo (formerly Sendinblue) is a popular choice for teams that want affordable transactional email with a European data centre.
Overview
Brevo is GDPR-friendly (EU-based infrastructure), has a generous free tier (300 emails/day), and a clean API. It is a strong choice for teams based in Europe or those sending to European recipients where data residency matters. Authentication is a single API key.
Get your credentials
- Log in to app.brevo.com
- Click your name in the top right → SMTP & API
- Go to the API Keys tab
- Click Generate a new API key, give it a name, and copy the key
- Verify your from address or domain: Settings → Senders & IP → Domains
SENDER VERIFICATION
Add the provider in Nudgel
- Go to Settings → Providers
- Click Add a provider
- Pick Brevo
- Fill in the fields:
| Field | Required | Notes |
|---|---|---|
from_email | Yes | A verified sender address or address within a verified domain |
from_name | Yes | Display name shown to recipients |
api_key | Yes | Brevo API key (from SMTP & API → API Keys). Encrypted at rest. |
Test the connection
curl -X POST https://api-raven-cloud.autotribes.app/v1/messages \
-H "X-Raven-Key: rk_live_a3f7b2c1_..." \
-H "Content-Type: application/json" \
-d '{
"channel": "email",
"to": "you@example.com",
"from": "noreply@mail.acme.co.ke",
"subject": "Nudgel test — Brevo",
"bodyHtml": "<p>If you can read this, Brevo is wired up.</p>",
"bodyText": "If you can read this, Brevo is wired up."
}'Confirm in Brevo → Transactional → Email → Log — the message should appear within seconds.
Set up webhooks
Brevo calls these Transactional webhooks. Configure them under Transactional → Settings → Webhook.
Set the URL to:
https://api-raven-cloud.autotribes.app/v1/webhooks/email/brevo/{YOUR_TENANT_ID}Enable: Delivered, Hard bounce, Spam, Unsubscribed. Hard bounces and spam reports auto-add to your suppression list. See the webhooks guide.
Verify your sending domain at Brevo
To send from your own domain (e.g. mail.example.co.ke) through Brevo, publish DKIM records Brevo generates for you. Nudgel orchestrates this from one dashboard.
- In Nudgel dashboard, go to
Settings → Sending domains → Add domain, enter your domain. - On the next screen, select Brevo. Nudgel calls Brevo's domain registration API using your credentials and shows you the DNS records to publish.
- Publish the records at your DNS host (Cloudflare, Route 53, etc.).
- Nudgel polls every 30 seconds for the first 10 minutes, then hourly. Verification surfaces in the dashboard automatically.
Add this to your SPF record
include:_spf.brevo.com to your existing SPF record (or create a new v=spf1 include:_spf.brevo.com -allif you don't have one).Brevo-specific notes
- Brevo requires a domain ownership TXT record (
brevo-code=...) in addition to the DKIM TXT. Both must be published before Brevo considers the domain verified. - Nudgel surfaces all required records together — publish all of them, not just the DKIM.
Full setup walkthrough: Sending domains setup
Troubleshooting
| Symptom | Most likely cause |
|---|---|
failed — "Unauthorized" | API key is invalid. Regenerate it in Brevo → SMTP & API → API Keys. |
failed — "Sender not allowed" | The from address is not verified in Brevo. Add it under Settings → Senders & IP. |
failed — "Daily sending limit reached" | You hit the plan limit (300/day on free). Upgrade your Brevo plan. |
| Emails land in spam | Set up domain authentication in Brevo. See also sending domains. |