Bonga sends transactional, authentication and marketing email through a connected provider. You can bring your own SMTP server, connect Resend, or use Bonga's managed email delivery.
Sending domains
Every From address must use a verified sending domain. Add the domain in Dashboard → Email domains and publish the DNS records Bonga shows:
| Record | Purpose |
|---|---|
| SPF | Authorizes the sending infrastructure |
| DKIM | Signs the message |
| DMARC | Tells receivers what to do on failure |
| Return-Path | Bounce routing |
A managed sending domain can publish its records for you when DNS is connected. Verification is rechecked before a send; a domain that lost verification is refused.
Providers
- Managed delivery — Bonga operates the sending infrastructure, domains and delivery events. Recommended unless you already run your own mail server.
- SMTP — your own server. Bonga validates the connection and sends through it.
- Resend — a hosted provider with signed delivery webhooks.
Each provider is a connection. A workspace can have more than one; a send names the sender, and Bonga resolves the provider from it.
Sending
Use the v2 contract for new integrations:
curl -X POST 'https://api.bonga.africa/api/v2/messages' \
-H "Authorization: Bearer $BONGA_API_KEY" \
-H 'Content-Type: application/json' \
-H 'Idempotency-Key: receipt-991' \
--data '{
"channel": "email",
"from": "snd_example04",
"to": "customer@example.com",
"content": {
"type": "email",
"subject": "Your receipt",
"text": "Thanks for your order.",
"html": "<p>Thanks for your order.</p>"
}
}'
The v1 routes /api/v1/email/send and /api/v1/email/send-bulk remain for existing integrations. A single send takes a recipient, subject, body or template, variables and an optional schedule. Bulk takes a recipient list or a contact tag.
Purpose and consent
Every send has a purpose: transactional, authentication or marketing.
- Marketing includes an unsubscribe footer and checks suppression.
- Transactional and authentication mail omit the footer and are not blocked by a marketing opt-out.
- A hard suppression (complaint, manual block) applies to every purpose.
Never label marketing mail as transactional to skip consent. The purpose is recorded on the delivery row and rechecked at handoff.
Templates
The template studio stores versions. A send can pin an exact published version, so editing a template later does not change a queued message. Inline content and templates can be mixed in the same platform.
Tracking and limits
Opens and clicks are tracked per recipient when enabled. GET /api/v2/email/sending-limits reports the plan cap, usage, remaining allowance and reset time. The cap is a plan limit, not a promise of provider capacity or funds.
Delivery events
Accepted, delivered, bounced, complained and delayed events update the delivery row. An ambiguous outcome is never converted into a definite failure; it stays submission_unknown until reconciled. See Delivery and events.
Inbound email
Receiving is separate: add a receiving domain, create rules and read captured mail. See Inbound email.