evre
EN

Sending email

POST /emails accepts a JSON body (and optional Idempotency-Key).

Minimal example

{
  "from": "evre <hi@mail.evre.email>",
  "to": ["user@example.com"],
  "subject": "Hello",
  "html": "<p>Hi</p>",
  "text": "Hi"
}

Common fields

FieldNotes
to / cc / bcc / replyToString or array of addresses
html / textAt least one body is required
tags[{ "name", "value" }] — indexed on the message
routeIdOptional route (defaults to project’s default transactional route)
scheduledAtISO time — see Scheduling
attachmentsBase64 content — see Attachments

from must use a verified domain for the project (or mock provider allowlist in local/demo).

Retrieve and list

  • GET /emails/{id} — message + event timeline
  • GET /emails?limit=50 — recent messages