feat: add durable mail delivery outbox
This commit is contained in:
11
README.md
11
README.md
@@ -33,10 +33,13 @@ revision comparison, credential resolution, policy checks, and SMTP/IMAP
|
||||
effects inside Mail. Consumer-visible outcomes are sanitized: provider banners,
|
||||
raw response bytes, hosts, account identities, and credentials are not returned.
|
||||
|
||||
A remaining observability slice, tracked in [govoplan-mail#17](https://git.add-ideas.de/GovOPlaN/govoplan-mail/issues/17), is a Mail-owned durable outbox and transport-attempt store with
|
||||
restricted diagnostic access, retention controls, and correlation identifiers.
|
||||
Until that exists, Campaign retains only sanitized delivery evidence; raw
|
||||
provider diagnostics must not be copied into consumer records.
|
||||
Mail also owns a durable delivery-command outbox for effects that do not
|
||||
already have a consumer-owned job ledger, including Campaign report messages.
|
||||
It persists the command and attempt before SMTP, binds idempotency keys to
|
||||
canonical request hashes, distinguishes partial refusal and unknown outcome,
|
||||
and requires explicit evidence-backed reconciliation before any deliberate
|
||||
resend. Business readers receive only counts and sanitized state; recipient
|
||||
refusal details require `mail:delivery:diagnostic`.
|
||||
|
||||
SMTP effects decrypt only SMTP credentials; Sent-folder effects decrypt only
|
||||
IMAP credentials. A connection loss after an effect starts is surfaced as an
|
||||
|
||||
Reference in New Issue
Block a user