Email Sending API
The email sending API built for developers
Send transactional email with a single request. Idempotency, scheduling, batch sending, attachments and per-email tags are built in, so you can ship password resets and receipts without managing mail servers.
- 01One request, one inbox
- POST /emails with from, to, subject and html. Responses return an email ID you can track end to end.
- 02Batch & scheduled
- Send up to 100 emails per call and schedule any message up to 30 days ahead. Cancel or reschedule before it goes out.
- 03Idempotent by design
- Pass an Idempotency-Key header and retries never produce duplicate emails.
- 04Attachments & tags
- Attach files up to 25MB and tag emails to slice analytics by campaign, tenant or environment.
- 05Test addresses
- delivered@, bounced@ and complained@ simulate real outcomes without touching a real inbox.
- 06Fast & observable
- Every email has a full event timeline: sent, delivered, opened, clicked, bounced or complained.
import { Mailvina } from 'mailvina';
const mailvina = new Mailvina('mv_xxxxxxxxx');
await mailvina.emails.send({
from: 'Acme <[email protected]>',
to: ['[email protected]'],
subject: 'Welcome to Acme',
html: '<strong>It works!</strong>',
});