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
Bavimail vs Resend
Both are clean developer APIs. Bavimail adds inbound email and domain tooling.
Learn more
Bavimail vs SendGrid
Bavimail is faster to set up with a simpler pricing model and a modern developer experience.
Learn more
Bavimail vs AgentMail
Bavimail serves both developer and AI-agent use cases at a lower per-email cost.
Learn more
Bavimail vs Postmark
Postmark's deliverability reputation is unmatched. Bavimail offers comparable transactional depth without a $15 monthly floor and includes inbound on every paid plan.
Learn more
Bavimail vs Mailgun
Mailgun pairs Sinch enterprise positioning with a $15 floor and a 100-per-day free tier cap. Bavimail bundles email validation at a lower price.
Learn more
Bavimail vs Amazon SES
SES is the cheapest per-email line item but ships no templates, dashboard, or inbound. Bavimail bundles those at a flat monthly fee with predictable billing.
Learn more
Bavimail vs Cloudflare Email Service
Cloudflare Email Sending requires Workers Paid and your sending domain on Cloudflare DNS, and is in public beta. Bavimail is GA with no platform prerequisites and callable from any backend with REST SDKs.
Learn more
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
Bavimail for Founders
Start free with 6,000 emails/month. Upgrade to Developer at $5/mo when you grow.
Learn more
Bavimail for AI Agents
Inboxes on your own domain, signed webhook events, two-way email via REST API.
Learn more
More
Keep exploring
Features
Transactional Email API
Send app email with batch sends, scheduling, analytics, and clean domain controls.
Inbound Email Processing
Receive email, parse content, capture attachments, and route inbound traffic to your app.
Email Webhooks
Verify signed webhook events for delivered, opened, clicked, bounced, and complaint workflows.
Domain Verification
Guide teams through SPF, DKIM, DMARC, MAIL FROM, and production-ready domain authentication.
Docs
Docs Overview
Start with the platform model, launch sequence, and production checklist.
API Reference
See the core resources for send, inbound, domains, analytics, and suppressions.
Webhook Docs
Learn the event model, signature verification flow, and retry patterns.
SDK Guides
Install the official TypeScript and Python clients with working examples.
Compare
Bavimail vs Resend
Compare pricing posture, inbound depth, domain tooling, and production workflows.
Bavimail vs SendGrid
See where Bavimail is simpler for modern developer teams and smaller production stacks.
Bavimail vs AgentMail
Compare AI agent email capabilities, pricing, and operational depth.
Bavimail vs Postmark
Strong deliverability without a $15 floor, and inbound included on every paid plan.
Bavimail vs Mailgun
No $15 floor, a higher monthly free allotment, and email validation bundled instead of paid separately.
Bavimail vs Amazon SES
A managed email platform with templates, suppression, and inbound included instead of raw AWS infrastructure plus engineering glue.
Bavimail vs Cloudflare Email Service
A platform-agnostic GA email API instead of a public-beta product that requires Workers Paid as a hard prerequisite.