Transactional
Email API
Connect your business domain, send transactional emails under your brand, and track every open and click — all via one API. We handle deliverability, DNS, and infrastructure.
# Send a transactional email curl -X POST https://api.mojawave.com/v1/email \ -H "Authorization: Bearer sk_live_mw_8472910" \ -d '{ "to": "[email protected]", "from": "[email protected]", "from_name": "Duka Masta", "subject": "Your order is confirmed", "template_id": "tpl_order_confirm", "variables": { "order_id": "9921" } }' // 200 OK { "id": "em_93jd7p", "status": "delivered", "open_tracked": true, "click_tracked": true }
const mojawave = require('mojawave'); const client = new mojawave.Client('sk_live_mw_8472910'); const email = await client.email.send({ to: '[email protected]', from: '[email protected]', subject: 'Your order is confirmed', templateId: 'tpl_order_confirm', variables: { orderId: '9921' } }); console.log(email.status); // delivered
import mojawave client = mojawave.Client("sk_live_mw_8472910") email = client.email.send( to="[email protected]", from_="[email protected]", subject="Your order is confirmed", template_id="tpl_order_confirm", variables={"order_id": "9921"} ) print(email.status) # delivered
Setup
Live in under 10 minutes
Connect your domain
Add two DNS records (SPF and DKIM) to your domain. We verify automatically and show you the exact records to add.
Create your templates
Build reusable HTML email templates in the dashboard with variable placeholders. Or send raw HTML directly via the API.
Call the API and go
One POST request per email. We handle deliverability, bounces, and suppression lists so your domain reputation stays clean.
Features
Built for developers. Reliable for businesses.
Your Domain. Your Brand.
Emails are sent from your domain — not ours. Recipients see your company name and trust the message from the first glance.
Template Engine
Create reusable templates with dynamic variables. Merge order IDs, names, amounts, and any data directly into your email at send time.
Attachments
Attach PDFs, invoices, receipts, or any file via base64 or a pre-uploaded file cache key. Up to 10MB per send.
Invoices & Receipts
Send payment confirmations and invoices with attached PDFs automatically after each transaction.
Welcome Emails
Onboard new users with a branded welcome series triggered by account creation events.
Password Resets
Deliver secure, time-sensitive reset links in under 2 seconds with a simple template call.
Scheduled Reports
Automated daily, weekly, or monthly report emails to customers with dynamic data tables.