Skip to content

For Developers

A clean email API. Most teams send their first email in under 5 minutes.

TypeScript and Python SDKs with full OpenAPI coverage. Send transactional email, receive inbound mail on a webhook, verify domains programmatically. No dashboard-only workflows: every capability is available via the API.

API-first design

Everything you need to build production email

Typed SDKs

Official TypeScript and Python clients with full type coverage. Install with npm install bavimail or pip install bavimail. Zero boilerplate for the common cases.

Inbound webhooks

Receive signed webhook events for 14 event types. HMAC-SHA256 signatures on every delivery. verifyWebhookSignature() ships with the TypeScript SDK and verify_webhook_signature() with the Python SDK.

Inbound email

Full two-way email via an MX record and a webhook endpoint. Each message fires a signed event; the API returns its parsed headers, text and HTML bodies, and attachments.

Domain verification API

SPF, DKIM, DMARC, and MAIL FROM records generated on-demand. DNS check status via polling or webhook. Fully programmable — no manual copy-paste steps required.

OpenAPI-first

The live OpenAPI 3.1 document is served at https://api.bavimail.com/openapi.json. Generate clients in any language. The Bavimail docs include an interactive API reference.

Webhook test deliveries

Send a test event to any registered webhook from the dashboard or with POST /webhooks/{webhookId}/test. Every send's status and events are readable through the API.

Quickstart

Send your first email in 3 steps

1. Install the SDK

npm install bavimail (TypeScript) or pip install bavimail (Python). For other languages, call the REST API directly with any standard HTTPS client.

2. Set your API key

Create a free account, copy your API key from the dashboard, set BAVIMAIL_API_KEY in your environment.

3. Call emails.send()

Pass inboxId, toEmails, subject, and body. The API returns the email with its id and a queued status. Full send in under 10 lines.

Compare

See how Bavimail compares to the alternatives

FAQ

Common developer questions

How long does it take to send a first email with Bavimail?

Typical: most developers send their first email in under 5 minutes. Install the SDK with npm install bavimail or pip install bavimail, set your API key, and call emails.send(). Sending needs an inbox on a verified domain, so verify a domain first (see /docs/domains).

Which languages and frameworks does Bavimail support?

Bavimail ships official TypeScript and Python SDKs with full OpenAPI coverage. The REST API works with any language that can make HTTPS requests, including Go, Ruby, and Java via standard HTTP clients.

How do webhooks work in Bavimail?

Bavimail delivers signed webhook events for 14 event types including delivery, open, click, bounce, complaint, and inbound receipt. Signatures use HMAC-SHA256. The SDKs include verifyWebhookSignature() for TypeScript and verify_webhook_signature() for Python. Endpoints can be added and tested from the dashboard or API.

Does Bavimail support inbound email?

Yes. Inbound email is a first-class feature. Add an MX record pointing to Bavimail, and each inbound message fires a signed email.inbound.received webhook event with the sender, subject, a body preview and the attachment count. GET /inbound-emails/{emailId} returns the parsed message with its headers, text and HTML bodies, and attachments.

Is there a local development mode or test environment?

There is no test mode or log-only API key; sends go to real recipients. Develop against a staging domain and addresses you control, and trigger test webhook deliveries to any registered endpoint from the dashboard or with POST /webhooks/{webhookId}/test.

Also for your team

Bavimail for every builder

More

Keep exploring

Features

Docs

Compare