Skip to content
Hermesmail
Docs pages

Testing without a domain

Hermesmail provides a shared sandbox sender and four simulated recipient addresses so teams verify integrations before publishing DNS records or emailing real users.

Shared sandbox sender

While a team has no verified sending domain and calls the API with a key that is not locked to a domain, Hermesmail accepts [email protected] as the from address.

Mail sent from the shared sandbox address reaches only two kinds of recipients:

  • Team members: verified account addresses belonging to members of the sending team.
  • Simulated test addresses: the four addresses under test.hermesmail.app listed below.

Any request from the shared sandbox sender that names an outside recipient in to, cc or bcc fails with HTTP 403 and error name validation_error. Once a team verifies a domain of its own, Hermesmail stops accepting the sandbox sender and delivers mail from the verified domain instead; see Sending domains and DNS.

Test recipient addresses

Every team — with or without a verified domain — may send to simulated addresses under test.hermesmail.app to trigger predictable delivery outcomes without sending mail to an external inbox or affecting sender reputation:

  • Delivered (delivered): send to [email protected] to simulate successful acceptance and delivery, ending in delivered.
  • Hard bounce (bounced): send to [email protected] to simulate a hard bounce from the receiving server. The message ends in bounced with bounce type Permanent.
  • Spam complaint (complained): send to [email protected] to simulate a recipient spam complaint. The message records delivered first and then transitions to complained.
  • Suppressed (suppressed): send to [email protected] to simulate sending to a suppressed address. Hermesmail stops dispatch internally before calling the mail provider and marks the message suppressed with zero provider calls.

Simulated bounces and complaints on test.hermesmail.app are never added to your team's suppression list and are excluded from your team's bounce and complaint rates, so automated test suites never trigger a deliverability pause.

Tagging test runs with +label

Append a +label suffix to the delivered, bounced or complained local part to tell concurrent test cases apart while keeping the same simulated outcome — for example [email protected], [email protected] or [email protected]. Labels may contain letters, digits and standard address punctuation (._-). The suppressed test address matches only the exact address without a +label.

Runnable examples

Send a simulated delivery from the sandbox address:

curl -sS -X POST https://api.hermesmail.app/emails \
  -H "Authorization: Bearer $HERMESMAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "[email protected]",
    "to": "[email protected]",
    "subject": "Delivery simulation check",
    "text": "Simulated delivery from the shared sandbox address."
  }'

Send a simulated permanent bounce from the sandbox address:

curl -sS -X POST https://api.hermesmail.app/emails \
  -H "Authorization: Bearer $HERMESMAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "[email protected]",
    "to": "[email protected]",
    "subject": "Permanent bounce simulation check",
    "text": "Simulated permanent bounce from the shared sandbox address."
  }'

Send a simulated delivery followed by a complaint from the sandbox address:

curl -sS -X POST https://api.hermesmail.app/emails \
  -H "Authorization: Bearer $HERMESMAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "[email protected]",
    "to": "[email protected]",
    "subject": "Complaint simulation check",
    "text": "Simulated delivery followed by a spam complaint from the shared sandbox address."
  }'

Send to the suppressed test address to observe internal suppression without a provider call:

curl -sS -X POST https://api.hermesmail.app/emails \
  -H "Authorization: Bearer $HERMESMAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "from": "[email protected]",
    "to": "[email protected]",
    "subject": "Suppression simulation check",
    "text": "Simulated suppression without calling the mail provider."
  }'

Where each outcome appears

Each simulated send follows the same recording path as live mail:

  • API retrieval: call GET /emails/{email_id} with the returned id to inspect last_event (queued, sent, delivered, bounced, complained or suppressed) and the message metadata.
  • Dashboard: open the Emails view for your team to inspect each message's current state and chronological event history.
  • Webhooks: endpoints subscribed to email events receive signed email.sent, email.delivered, email.bounced, email.complained and email.suppressed deliveries; see Webhooks.

Quota and billing

Test sends count toward your team's daily and monthly sending quotas, once per accepted recipient address, including suppressed test recipients.

Every accepted test request increments the usage counters reported in x-hermesmail-daily-quota and x-hermesmail-monthly-quota headers and follows the same quota rules documented in Limits.