Repository navigation
explorer 2026.11.23.1
feat(outbox): show the client Outbox (what Fleet sent) in Explorer and MCP (#87)
What
Everyone in a client organization can now see the email Fleet sent for
them: an Outbox page in Explorer, and a search_outbox tool over the
API and MCP.
Part of the client Outbox:
-
ElcanoTek/example-config#72: the sender writes the copies
-
this PR: reading them
-
ElcanoTek/production-support#212: the IAM and the box setting
-
EMAIL_S3_OUTBOX_PREFIX(defaultoutbox/; empty turns it off). It
must sit beside the inbox prefixes, never under them, so inbox search
never lists sent mail. Explorer refuses to start on an overlap. An
install whose inbox is the whole bucket keeps the default Outbox off. -
archive.Outbox.Searchlists the day folders a span touches and reads
only the small.jsonrecords. It filters on theirsent_atwith the
exact bounds asked for, so a copy saved just after midnight still
belongs to its send day. A record is trusted only when itseml_keyis
the.emlbeside it. -
search_outbox(scopeemail:search): recipient (to, cc, bcc),
subject and sender-person filters. Each result'ss3_keyopens the
message withget_email. -
Settings.AllowedEmailKeynow gates both/emailand the API's
s3_key: Outbox.emlkeys open like inbox mail, and.jsonrecords
never do. -
Web: the
/outboxpage (date range, filters; rows open/email), an
Outbox link on the inbox when it is on, "Back to Outbox" on a sent
message, andjs/outbox.jsfor its date pickers. -
No sender-authentication check on the Outbox: only the sender's IAM
user can write there, so the prefix is the proof of origin. Explorer's
IAM user needs the production-support policy update to readoutbox/;
until thensearch_outboxreturns an error.
Checklist
-
gofmt -l .is empty,go vet ./...andgolangci-lint runpass -
go test -race ./...passes, with no AWS account or network
needed - Fixtures stay synthetic (
.exampleaddresses; no real mail) - Docs updated where behaviour changed (
docs/API.md"Outbox",
.env.example) - New source files carry the SPDX header
- No secrets, real customer data, or internal hostnames in the diff
make ci (stack-check, vet, golangci-lint, race tests, JS tests,
govulncheck) passes locally.
Screenshots
Not captured; the page reuses the inbox list's classes and layout.
What's Changed
Full Changelog: v2026.11.20.1...v2026.11.23.1