Skip to content
Hermesmail
Docs pages

Limits

Hermesmail enforces two kinds of limits: per-plan entitlements that vary with a team's plan, and fixed platform rules that apply to every request regardless of plan. Every figure on this page comes directly from the code that enforces it.

Per-plan limits

A team's plan determines its sending quotas, object counts, API rate limit and retention period. Live values for every published plan are shown on the pricing page and in the plain-text pricing table.

Limit Entitlement key What it covers
Monthly emails monthly_emails Recipients accepted across a billing month before monthly quota stops sending.
Daily emails daily_emails Recipients accepted in one UTC day when the plan sets a daily cap.
Sending domains domains Active sending domains a team may hold at once.
Webhook endpoints webhook_endpoints Configured webhook endpoints a team may hold at once.
API rate limit api_rate_limit_rps API requests a team may make each second across all of its keys.
Data retention retention_days Days finished messages, request logs and daily usage rows are kept.
Team members team_members Members who may belong to one team at once.
API keys api_keys Active API keys a team may hold at once.
Teams per account teams_per_user Teams one user account may belong to.
Overage eligibility overage_allowed Whether a team admin may opt in to continue sending past the monthly cap.
Overage rate overage_rate_per_1000_cents Price per thousand additional emails when overage sending is enabled.
Send concurrency send_concurrency Email delivery jobs of one team that the worker runs at the same time.
Bounce pause threshold bounce_pause_ppm Seven-day permanent bounce rate, in parts per million, past which team sending pauses automatically.
Complaint pause threshold complaint_pause_ppm Seven-day spam complaint rate, in parts per million, past which team sending pauses automatically.
Bounce warning threshold bounce_warn_ppm Seven-day permanent bounce rate, in parts per million, at which team admins receive a deliverability warning.
Complaint warning threshold complaint_warn_ppm Seven-day spam complaint rate, in parts per million, at which team admins receive a deliverability warning.
Monthly domain checks monthly_domain_checks Domain checks answered across a billing month before the monthly allowance stops checks.

Daily and monthly quotas

Every recipient address in to, cc and bcc counts once toward the team's daily and monthly sending quotas.

Successful send responses report current usage in these headers:

Header Meaning
x-hermesmail-daily-quota Emails the team has used today; sent only when its plan has a daily cap.
x-hermesmail-monthly-quota Emails the team has used in the current cycle.

When a send would exceed the team's daily cap, the API refuses the whole request with HTTP status 429 and error name daily_quota_exceeded without queuing any message. When a send would exceed the monthly cap on a plan without overage enabled, the API refuses the request with HTTP status 429 and error name monthly_quota_exceeded without queuing any message.

API rate limit

Each team shares one requests-per-second bucket across all of its API keys, sized by the plan's api_rate_limit_rps entitlement. Every authenticated API response reports the window state through these headers:

Header Meaning
ratelimit-limit Requests the team may make in each window.
ratelimit-remaining Requests left in the current window, never below 0.
ratelimit-reset Whole seconds until the current window ends, at least 1.
retry-after Whole seconds to wait before sending the request again.

When requests arrive faster than the plan allows, the API answers with HTTP status 429 and error name rate_limit_exceeded until the window resets. Wait at least the number of seconds given in retry-after before retrying.

Batch sending

One POST /emails/batch request accepts up to 100 messages in a single call. Each batch counts as a single request against the API rate limit, while every accepted recipient counts against the team's daily and monthly quotas. Batch items do not accept attachments; send messages with attachments individually through POST /emails.

Recipients and message size

  • Recipients per message: up to 50 addresses across to, cc and bcc combined.
  • Reply-to addresses: up to 50 addresses in reply_to.
  • Total message size: up to 40 MB — 40000000 bytes — measuring headers, body parts and base64-encoded attachments with MIME line breaks.
  • Subject length: up to 998 characters.
  • Display name length: up to 256 characters in from, to, cc, bcc and reply_to.

Attachments

Attachments are counted within the total message size bound above, encoded as base64 with MIME line breaks.

  • Filename length: up to 255 characters, as plain text without RFC 2047 encoded words.
  • Content type length: up to 255 characters; message/* and multipart/* media types and name parameters are refused.
  • Inline content id length: up to 127 printable ASCII characters without spaces or angle brackets.
  • Path-fetched attachments: up to 10 attachments given by URL per email, sharing a total fetch budget of 30 seconds.
  • Download links: signed attachment download links remain valid for 1 hour and always download as files rather than rendering inline in a browser.

Hermesmail does not scan attachments for viruses. Instead, the API refuses files whose final extension is on the blocked list at acceptance:

.adp, .app, .asp, .bas, .bat, .cer, .chm, .cmd, .com, .cpl, .crt, .csh, .der, .exe, .fxp, .gadget, .hlp, .hta, .inf, .ins, .isp, .its, .js, .jse, .ksh, .lib, .lnk, .mad, .maf, .mag, .mam, .maq, .mar, .mas, .mat, .mau, .mav, .maw, .mda, .mdb, .mde, .mdt, .mdw, .mdz, .msc, .msh, .msh1, .msh1xml, .msh2, .msh2xml, .mshxml, .msi, .msp, .mst, .ops, .pcd, .pif, .plg, .prf, .prg, .ps1, .ps1xml, .ps2, .ps2xml, .psc1, .psc2, .reg, .scf, .scr, .sct, .shb, .shs, .sys, .tmp, .url, .vb, .vbe, .vbs, .vps, .vsmacros, .vss, .vst, .vsw, .vxd, .ws, .wsc, .wsf, .wsh, .xnk

Tags and custom headers

  • Tags per message: up to 75 tags, with each name and value up to 256 characters.
  • Custom headers per message: up to 100 headers, with each header value up to 2048 characters, all header names and values combined up to 32768 characters, and any folded header line up to 998 bytes.

Custom headers may not override provider headers starting with X-SES- or any of these reserved headers:

From, Sender, To, Cc, Bcc, Subject, Reply-To, Date, MIME-Version, Content-Type, Content-Transfer-Encoding, Content-Disposition, Content-ID, Return-Path, DKIM-Signature, Received, Feedback-ID

Scheduling

A scheduled_at value may be set up to 30 days ahead. Any timestamp at or before the current time sends immediately instead of scheduling.

Hermesmail accepts ISO 8601 timestamps that include an explicit time zone, or one of these relative and weekday phrases (case-insensitive):

Phrase form Example
in N second(s) in 30 seconds
in N min(s) in 1 min
in N minute(s) in 10 minutes
in N hour(s) in 2 hours
in N day(s) in 3 days
tomorrow at H[:MM]am|pm [ET|CT|MT|PT|UTC] tomorrow at 9am
<weekday> at H[:MM]am|pm [ET|CT|MT|PT|UTC] Friday at 3:30pm ET

Phrases without a zone abbreviation are read in UTC. Supported abbreviations map to these IANA time zones:

Abbreviation Time zone
ET America/New_York
CT America/Chicago
MT America/Denver
PT America/Los_Angeles
UTC UTC

Idempotency

An Idempotency-Key header may be up to 256 characters long and is remembered for 24 hours from the first accepted request.