Skip to content

Docs: an idempotency key header for SMTP sends - #66

Merged
farhadhf merged 1 commit into
mainfrom
add/smtp-idempotency
Nov 24, 2026
Merged

farhadhf merged 1 commit into
mainfrom
add/smtp-idempotency

Conversation

@farhadhf

Copy link
Copy Markdown
Contributor

Summary

Docs for the SMTP idempotency key header (AhaSend/kumo-config#18). Merge only after that change is live on all Kumo nodes and checked.

 smtp/special-headers
+  section "Idempotency key header"
 smtp/errors, smtp/index, troubleshooting
+  the 451 and 550 answers of the header
 api-reference/idempotency, send-api/custom-headers, glossary, cli/commands/smtp
+  pointers to the SMTP header; the header has no effect on API sends
 guides: django, flask, laravel, symfony
+  one sentence each
 changelog: one entry under November 2026

Evidence

  • Before: no page names the header.
    After: the six checks of the docs workflow pass (docs_lint.py, schema, CLI capture, mint validate, mint broken-links, test_docs_checks.py).

Merge Danger

Door: two-way

Blast Radius: docs

Move the changelog entry if the merge is in December.

A message sent over SMTP can carry an ahasend-idempotency-key header.
Within 24 hours, a second message from the same account with the same key
to the same recipient is accepted and not sent, so a client that lost the
answer of a send can send again.

The special headers page gets the section: how the key works, an example,
and the three answers a client can get (a 250 that ends with
duplicates=<count>, the 451 for a key in progress, the 550 for a key that
is too long). It says that the content is not compared, that sandbox and
live sends need different keys, and that the header has no effect on an
API send, where API v2 uses the Idempotency-Key of the request.

The errors page, the troubleshooting page and the Django, Flask, Laravel
and Symfony guides said that SMTP has no idempotency key. Their retry
advice points to the header. The SMTP response-code tables have rows for
the two new answers, and the glossary, the custom headers page, the API
idempotency page and the CLI smtp send page name the header.
@farhadhf
farhadhf merged commit f780a8d into main Nov 24, 2026
1 check passed
@farhadhf
farhadhf deleted the add/smtp-idempotency branch November 24, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant