Developers
Send email from your own code.
The why.email API sends the mail your software has to send — sign-in links, receipts, alerts, password resets. You add a domain, get an API key, and post the message. We handle the DNS records, the queueing, and the retries, and show you what happened to each one.
$POST https://api.why.email/api/v1/emailsOne request to send a message. And a record of what happened to it.
One request to send a message
A single HTTP endpoint takes the message and returns an id. You can send one at a time or up to 1,000 in a batch. It is plain HTTP and JSON, so any language can call it, and software that can only speak SMTP can send that way instead.
curl https://api.why.email/api/v1/emails \
-H "X-API-Key: sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"from": "receipts@yourdomain.com",
"to": ["ada@example.com"],
"subject": "Your receipt",
"text": "Thanks for your order."
}'
{ "email": { "id": "4fcffcaa-…", "status": "queued" } }You can see what happened to it
Every send is logged with its result: queued, delivered, opened, bounced. The console shows the log, and webhooks push the same events to your own server so your app can react — stop emailing an address that hard-bounced, mark an invoice as delivered.
| 09:41:12 | ada@example.com | delivered |
| 09:41:09 | ben@example.com | delivered |
| 09:40:58 | chi@example.com | opened |
| 09:40:31 | old@example.com | bounced |
Most of the work in sending email is not the sending.
These are the pieces you would otherwise build yourself.
Sending domains
We generate the DKIM, SPF, and DMARC records, and check that the domain is yours. Sending is blocked until the domain verifies, so you find out at setup rather than in someone's spam folder.
API keys
A key per environment. Revoke one without touching the others.
Webhooks
Delivery, bounce, open, reply, and unsubscribe events posted to your endpoint. Signed so you can check they came from us, and retried if your server is down.
Suppression list
Addresses that hard-bounced or unsubscribed are held back automatically. Sending to them again does not hurt your domain's reputation.
Templates
Keep the message body in the console. Variables are filled in at send time, so copy changes do not need a deploy.
Deliverability checks
Your domain's DNS records, authentication results, and bounce rate in one view. See a problem before it becomes a pattern.
Let an AI work with your mail, and sign people in with theirs.
An agent signs in the way a person would, through OAuth, and gets only what it was given. There are no passwords or API keys to paste into a prompt.
A mailbox over MCP
mcp.why.email serves a why.email mailbox to AI agents. An agent can read and search mail, save drafts, apply labels, move messages, and wait for new mail as it arrives.
The console over MCP
console.why.email/mcp serves the sending console. An agent can draft a newsletter, build and clean an audience, and keep templates, and, with the right scope, queue a broadcast or send a one-off email.
Porter
One MCP address for everything an AI may reach. Give Claude, ChatGPT, Cursor or a terminal porter.why.email/mcp, and connect your mail, Slate, Tabular, Chest and other MCP servers to it once. Connections expire, and every call is recorded.
Sign in with Why
why.email is an OpenID Connect provider. Your application can offer a Sign in with Why button and receive a signed assertion of who the person is, and nothing more: no mail is reachable through it. Write to support@why.email to register an application.
$https://mcp.why.emailPricing · 04 / 04
Three plans.
Priced on messages sent. Prices include everything above — the free plan has less volume, and broadcasts sent on it carry a small “Sent with why.email” badge.
- Free limit
- Sending stops until the next period. No overage, so no bill
- Past the allowance
- ₦0.30 per email on Starter and Pro, from credit you top up
- Changing plans
- Move up at any time. A move to a cheaper plan waits until the month you paid for ends
- Cancelling
- Keep your plan until the period you paid for ends, then return to the free limits
Free
For trying it out and for small side projects.
- 3,000 emails a month
- 100 emails a day
- 1 sending domain
- API keys, webhooks, and SMTP
- 30 days of delivery logs and events
- Broadcasts carry a small “Sent with why.email” badge
- Sending stops when you reach the limit — you can never run up a bill
Starter
For a product that has outgrown the free plan.
- 15,000 emails a month
- No daily limit
- ₦0.30 per email past 15,000, taken from credit you top up
- 3 sending domains
- API keys, webhooks, and SMTP
- 30 days of delivery logs and events
- Turn the “Sent with why.email” badge off
Pro
For sending you depend on.
- 50,000 emails a month
- No daily limit
- ₦0.30 per email past 50,000, taken from credit you top up
- 10 sending domains
- API keys, webhooks, and SMTP
- 30 days of delivery logs and events
- Turn the “Sent with why.email” badge off
Questions
Common questions.
Do I need a mailbox to use the API?
What happens when I hit the free limit?
Can I receive mail through the API?
Which languages are supported?
Send your first message.
Sign up, verify a domain, and you have a key. The free plan does not ask for a card.