The email API that tells you what happened
Receipts, password resets, alerts and invitations, sent with one request from your own domain. When something goes wrong, you see why, in plain words.
One request
curl -X POST https://mailaki.com/v1/messages \
-H "Authorization: Bearer mf_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"domain_id": "YOUR_DOMAIN_UUID",
"from": "[email protected]",
"to": ["[email protected]"],
"subject": "Your order has shipped",
"text": "It left the warehouse this morning."
}'
You get a message ID back at once; delivery carries on in the background. Libraries for Node.js, Python, PHP, Ruby, Go, Java and C#, and a Postman collection, are in the docs.
Every message has a story
Each message gets a timeline: accepted, signed, sent, delivered, opened and clicked if you track them. When a receiving server refuses or delays it, you see that server's own reply, explained in plain words. No more guessing why a customer never got their reset link.
Built to arrive
Mail is signed with your domain's own DKIM key. When a receiving server says "later", Mailaki tries again seven times over 72 hours: at once, then after 5 and 15 minutes, 1, 4, 12 and 24 hours. Hard bounces and spam complaints go on your suppression list and are never mailed again, so one bad address doesn't hurt the rest.
- Batch sending: many recipients in one request, each with their own variables
- Templates with versions; send only the values that change
- Send later, reschedule or cancel until it goes
- Attachments, and larger files hosted as a link
- Test keys that accept everything and deliver nothing, for building safely
- Encrypted-only delivery when you ask for it
Your app hears about every step
Signed webhooks post each event to your server as it happens: delivered, bounced, deferred, opened, clicked, complained, unsubscribed. Each request is signed, so you know it came from Mailaki, and failed deliveries can be sent again. Webhooks are on every paid plan.
Or use the SMTP settings you already have
If your app already sends through SMTP, point it at mail.mailaki.com on port 587 with an API key as the password. Nothing else changes. See SMTP relay.
Start in three steps
- Create a free account with your email address. No card needed.
- Add your domain and publish the DNS records we give you: DKIM, SPF, a verification record and an optional DMARC record. Choose Verify; it takes about a minute.
- Send with the API, the SMTP settings or the portal. New accounts can send 100 emails a day while a person reviews them, which is plenty to set up and test.
Questions
How fast is the API?
A send request is answered at once with a message ID; delivery carries on in the background, and every step is recorded on the message.
What happens when a server says "try again later"?
Mailaki tries seven times over 72 hours: at once, then after 5 and 15 minutes, 1, 4, 12 and 24 hours. Each try and the server's reply are on the message's timeline.
Can I test without sending real email?
Yes. Test keys accept every request and deliver nothing, and they never count against your allowance.
Which languages are supported?
Anything that can make an HTTP request. There are libraries for Node.js, Python, PHP, Ruby, Go, Java and C#, and a Postman collection.
Related
What it costs
Paid once a year, about 15% less. Extra email on a paid plan is $0.45 to $0.25 per 1,000. Mailaki is in public beta: while it is, we put teams on a paid plan for free in return for honest feedback. All prices and limits