Skip to content
Hermesmail
Docs pages

Migrate to Hermesmail

This guide walks through moving an existing Resend integration to Hermesmail without downtime. Hermesmail implements a wire-compatible API for core transactional sending, domains, API keys and webhooks, so most applications switch over by updating configuration rather than rewriting SDK calls.

1. Add and verify your sending domain

Add your sending domain in Hermesmail and publish the DNS records Hermesmail generates for it.

Hermesmail places its DKIM TXT record at hermes._domainkey.<your-domain> rather than overlapping Resend's selector. Your existing Resend DNS records stay untouched in place until after cut-over, so production mail continues flowing through Resend while verification finishes here.

2. Create a Hermesmail API key

Sign in to your team dashboard and generate a new API key. Hermesmail keys begin with hm_ instead of re_.

Choose the permission level matching your workload: sending_access for services that only call send endpoints, or full_access for services that also manage domains, keys or webhooks.

3. Switch the base URL and API key

Point the SDK or HTTP client at https://api.hermesmail.app and supply the new hm_ key.

For an application that already reads RESEND_BASE_URL and RESEND_API_KEY from the environment, switching is an environment-only change with no code edit:

RESEND_BASE_URL=https://api.hermesmail.app
RESEND_API_KEY=$HERMESMAIL_API_KEY

Applications that instantiate the SDK directly in code pass https://api.hermesmail.app as the client base URL option alongside the new key.

4. Recreate webhook endpoints and update the signing secret

Webhook endpoints are not copied automatically from Resend. Recreate each endpoint URL and event subscription in Hermesmail, then update your receiver's environment with the new whsec_ signing secret Hermesmail issues.

Hermesmail signs webhook deliveries with the standard svix-id, svix-timestamp and svix-signature headers, so existing Svix verification code stays unchanged.

If your infrastructure previously maintained an IP allowlist for Resend webhooks, remove that allowlist before switching traffic. Hermesmail webhook deliveries do not originate from a fixed IP address list; signature verification is the authentication control (see Webhook source addresses).

5. Review unsupported endpoints and API differences

Before cutting over, review API differences for behavioural differences on supported routes, plus Limits and Errors.

The table below is generated directly from our compatibility map and lists every Resend API operation that Hermesmail does not yet support or does not plan to support:

Operation Status Phase or reason
POST /emails/{email_id}/share Planned Phase 8
GET /emails/receiving Planned Phase 16b
GET /emails/receiving/{email_id} Planned Phase 16b
GET /emails/receiving/{email_id}/attachments Planned Phase 16b
GET /emails/receiving/{email_id}/attachments/{attachment_id} Planned Phase 16b
POST /domains/{domain_id}/forge Not planned Hermesmail runs no mail transfer agent of its own, so this route answers 404 not_found (DOM-058).
POST /domains/claim Planned Phase 16i
GET /domains/{domain_id}/claim Planned Phase 16i
POST /domains/{domain_id}/claim/verify Planned Phase 16i
GET /oauth/grants Planned Phase 16i
DELETE /oauth/grants/{oauth_grant_id} Planned Phase 16i
GET /oauth/authorize Planned Phase 16i
POST /oauth/token Planned Phase 16i
POST /oauth/register Planned Phase 16i
POST /oauth/revoke Planned Phase 16i
POST /templates Planned Phase 16a
GET /templates Planned Phase 16a
GET /templates/{id} Planned Phase 16a
PATCH /templates/{id} Planned Phase 16a
DELETE /templates/{id} Planned Phase 16a
POST /templates/{id}/publish Planned Phase 16a
POST /templates/{id}/duplicate Planned Phase 16a
POST /audiences Planned Phase 16e
GET /audiences Planned Phase 16e
GET /audiences/{id} Planned Phase 16e
DELETE /audiences/{id} Planned Phase 16e
POST /contacts Planned Phase 16e
GET /contacts Planned Phase 16e
POST /contacts/imports Planned Phase 16e
GET /contacts/imports Planned Phase 16e
GET /contacts/imports/{id} Planned Phase 16e
GET /contacts/{id} Planned Phase 16e
PATCH /contacts/{id} Planned Phase 16e
DELETE /contacts/{id} Planned Phase 16e
POST /broadcasts Planned Phase 16f
GET /broadcasts Planned Phase 16f
GET /broadcasts/{id} Planned Phase 16f
PATCH /broadcasts/{id} Planned Phase 16f
DELETE /broadcasts/{id} Planned Phase 16f
POST /broadcasts/{id}/send Planned Phase 16f
POST /broadcasts/{id}/cancel Planned Phase 16f
POST /broadcasts/{id}/duplicate Planned Phase 16f
GET /broadcasts/{id}/recipients Planned Phase 16f
GET /broadcasts/{id}/clicked-links Planned Phase 16f
POST /segments Planned Phase 16e
GET /segments Planned Phase 16e
GET /segments/metrics Planned Phase 16e
GET /segments/{id} Planned Phase 16e
PATCH /segments/{id} Planned Phase 16e
DELETE /segments/{id} Planned Phase 16e
GET /segments/{id}/contacts Planned Phase 16e
POST /topics Planned Phase 16e
GET /topics Planned Phase 16e
GET /topics/{id} Planned Phase 16e
PATCH /topics/{id} Planned Phase 16e
DELETE /topics/{id} Planned Phase 16e
POST /contact-properties Planned Phase 16e
GET /contact-properties Planned Phase 16e
GET /contact-properties/{id} Planned Phase 16e
PATCH /contact-properties/{id} Planned Phase 16e
DELETE /contact-properties/{id} Planned Phase 16e
GET /contacts/{contact_id}/segments Planned Phase 16e
POST /contacts/{contact_id}/segments/{segment_id} Planned Phase 16e
DELETE /contacts/{contact_id}/segments/{segment_id} Planned Phase 16e
GET /contacts/{contact_id}/topics Planned Phase 16e
PATCH /contacts/{contact_id}/topics Planned Phase 16e
POST /automations Planned Phase 16g
GET /automations Planned Phase 16g
GET /automations/{automation_id} Planned Phase 16g
PATCH /automations/{automation_id} Planned Phase 16g
DELETE /automations/{automation_id} Planned Phase 16g
POST /automations/{automation_id}/duplicate Planned Phase 16g
POST /automations/{automation_id}/stop Planned Phase 16g
GET /automations/{automation_id}/runs Planned Phase 16g
GET /automations/{automation_id}/runs/{run_id} Planned Phase 16g
POST /automations/{automation_id}/runs/{run_id}/cancel Planned Phase 16g
POST /events Planned Phase 16g
GET /events Planned Phase 16g
POST /events/send Planned Phase 16g
GET /events/{identifier} Planned Phase 16g
PATCH /events/{identifier} Planned Phase 16g
DELETE /events/{identifier} Planned Phase 16g
POST /inboxes Planned Phase 16h
GET /inboxes Planned Phase 16h
GET /inboxes/{inbox_id} Planned Phase 16h
PATCH /inboxes/{inbox_id} Planned Phase 16h
DELETE /inboxes/{inbox_id} Planned Phase 16h
GET /inboxes/{inbox_id}/agent Not planned AI features are outside the product (SPEC §1), so both agent routes answer 404 not_found (IBX-011).
PATCH /inboxes/{inbox_id}/agent Not planned AI features are outside the product (SPEC §1), so both agent routes answer 404 not_found (IBX-011).
GET /inboxes/{inbox_id}/labels Planned Phase 16h
POST /inboxes/{inbox_id}/labels Planned Phase 16h
PATCH /inboxes/{inbox_id}/labels/{label_id} Planned Phase 16h
DELETE /inboxes/{inbox_id}/labels/{label_id} Planned Phase 16h
GET /inboxes/{inbox_id}/threads Planned Phase 16h
GET /inboxes/{inbox_id}/threads/search Planned Phase 16h
GET /inboxes/{inbox_id}/threads/{thread_id} Planned Phase 16h
PATCH /inboxes/{inbox_id}/threads/{thread_id} Planned Phase 16h
DELETE /inboxes/{inbox_id}/threads/{thread_id} Planned Phase 16h
POST /inboxes/{inbox_id}/threads/{thread_id}/labels Planned Phase 16h
PUT /inboxes/{inbox_id}/threads/{thread_id}/labels Planned Phase 16h
DELETE /inboxes/{inbox_id}/threads/{thread_id}/labels/{label_id} Planned Phase 16h
GET /inboxes/{inbox_id}/threads/{thread_id}/emails Planned Phase 16h
GET /inboxes/{inbox_id}/threads/{thread_id}/emails/{email_id} Planned Phase 16h
POST /inboxes/{inbox_id}/threads/{thread_id}/emails/{email_id}/reply Planned Phase 16h
POST /inboxes/{inbox_id}/threads/{thread_id}/emails/{email_id}/forward Planned Phase 16h
GET /inboxes/{inbox_id}/drafts Planned Phase 16h
POST /inboxes/{inbox_id}/drafts Planned Phase 16h
GET /inboxes/{inbox_id}/drafts/{draft_id} Planned Phase 16h
PATCH /inboxes/{inbox_id}/drafts/{draft_id} Planned Phase 16h
DELETE /inboxes/{inbox_id}/drafts/{draft_id} Planned Phase 16h
POST /inboxes/{inbox_id}/drafts/{draft_id}/send Planned Phase 16h

Rollback

Because your existing Resend DNS records and Resend credentials remain intact during cut-over, rolling back requires no DNS change:

  1. Restore RESEND_BASE_URL to Resend's default (or unset the override) and restore your previous Resend API key.
  2. If webhook delivery was also switched, restore the previous Resend whsec_ signing secret.
  3. Restart or redeploy the application so it picks up the restored environment values.