This page states what the system does, not what it intends to do. Each claim is a property of the deployed product that you can check against the API. The contact for security reports islegal@agentmailbox.app.
Workspace isolation
Every table that holds customer data carries a workspace_id, and every query goes through the repository layer, which takes the caller's workspace from the authenticated credential and never from the request. A request for another workspace's resource returns 404, so identifiers cannot be probed for existence.
A live check seeds a second workspace, creates resources in it, and proves the first workspace cannot read or change them, and that a read-only key cannot write or start a run.
Credentials
- API key secrets are stored as SHA-256 hashes with a display prefix; the secret is returned once.
- OAuth refresh tokens and MCP bearer tokens are encrypted with AES-GCM before they reach the database. The key is a Worker secret, so a database copy alone cannot act as the connected account.
- Connect state for OAuth and Telegram is signed, expires in fifteen minutes, and is single use.
- Run tokens are scoped to one run, one inbox, and one thread, and expire in fifteen minutes.
Mail handling
Inbound mail is written to object storage before the request is acknowledged, so a stored record always has its original bytes. Outbound mail is signed by the sending domain with DKIM, and delivery feedback (bounces and complaints) is signature-verified before it can suppress an address.
Retention is per inbox: 7, 30, 90, or 365 days, or zero. Zero-retention inboxes deliver the message once and store no row, no thread, and no attachment; a reply is refused because there is no thread to reply in.
When you connect a Google account, AgentMailbox reads only mail that arrives after the connection and never the mailbox history. The privacy policy sets out the Google API Services User Data Policy Limited Use commitments.
Agent execution
- Runs execute in an isolated container per run, destroyed when the run ends.
- A run has no network egress by default; an allowlist is an explicit setting.
- Wall-clock budgets are enforced, and a run that exceeds one exits with code 124.
- Commands receive mail values as environment variables, never interpolated into shell text.
What we test
| Check | What it proves |
|---|---|
| Cross-tenant matrix | Two workspaces, live, against the deployed API |
| Prompt-injection suite | A hostile subject never reaches a command string; a run cannot exfiltrate |
| Boundary check | No SQL outside the repository layer; no tenant table without workspace_id |
| Backup drill | Every table exports and restores with matching row counts |
| Launch check | The full signup, send, receive, and reply path |
Subprocessors
Cloudflare (compute, storage, DNS), Amazon SES (outbound delivery), MailKite (inbound edge), and a payment processor for paid plans. The privacy policy lists what each one receives.
Reporting a problem
Write to legal@agentmailbox.app with enough detail to reproduce the issue. We acknowledge reports within two business days. Please do not test against another customer's workspace or run destructive tests against production.