Sending
Transactional email, one POST away
Send single, batch, or broadcast email over REST. Requests are accepted in milliseconds and delivered directly to recipient mail servers from EU infrastructure.
Send
Queued in one request
POST to /v1/emails with an HTML body, a text body, or a template alias. The API answers 202 with an id you can follow through queued, sending, and delivered, by polling, or by webhook the moment state changes. Attachments go inline as base64, up to a 2 MB request body.
curl -X POST https://api.euromail.dev/v1/emails \
-H "X-EuroMail-Api-Key: em_live_..." \
-H "Content-Type: application/json" \
-d '{
"from": "[email protected]",
"to": "[email protected]",
"subject": "Welcome aboard",
"html_body": "<h1>Hello!</h1>"
}'
202 Accepted { "status": "queued" }
Reliability
Safe to retry
An idempotency_key guarantees a send is accepted at most once. A network retry returns the original result instead of a duplicate email. Batch sends report a per-message errors array, so one bad recipient never fails the other 999. Sandbox mode exercises the full pipeline without a single message leaving.
- Idempotency
- At-most-once accept per key
- Batch errors
- Per-message, batch never fails whole
- Sandbox
- Full validation, no mail leaves
- Status lifecycle
- queued → sending → delivered