What Edgebox sees, and how it's kept
To make IMAP faster, Edgebox has to read your mail as it passes through. That's a real trust decision, so here is exactly where things stand.
The plain version
Edgebox is not end-to-end encrypted
TLS protects the connection from your mail app to Edgebox and from Edgebox to your server. In between, Edgebox decrypts IMAP so it can cache and search. Whoever operates the service can decrypt mail in the running process. We won't describe it as zero-knowledge, because it isn't.
Stored data is encrypted
Origin passwords, mailbox snapshots and sync records are encrypted on disk with AES-GCM. Each tenant gets its own derived key, and every record is bound to its tenant and purpose, so data can't be decrypted under someone else's context.
How it's built today
- Encryption at rest
- AES-GCM with random nonces, per-tenant keys derived with HKDF from a master key supplied by the environment. The master key is never stored with the data or printed. State files are readable by the service account only.
- Tenant separation
- Each tenant has its own credentials, origin server and in-memory search index. Cache entries are keyed by tenant and mailbox. An origin connection is never reused across tenants.
- No client-chosen servers
- Your mail app can't tell Edgebox to connect somewhere new. Origins are fixed when the mailbox is set up, which closes off a whole class of redirect attacks.
- Tokens and logs
- Access tokens are random and stored only as hashes. Passwords and message bodies are kept out of application logs and the audit trail.
- Mail is treated as hostile
- Message HTML is never rendered. Line and literal sizes, deadlines and per-user login attempts are bounded. Unsupported options are left off rather than silently downgraded.
- Correctness is a security property
- Edgebox never advertises a protocol extension it doesn't fully support, never caches anything that depends on sequence numbers, and never retries a change when it's unclear whether the first attempt landed. When in doubt, it asks your server.
Risks we haven't closed
Search indexes live in memory. Process crash dumps, swap, backups and anyone with privileged access to the host remain threats. Rate limits are per process, not a distributed defence. The audit log is append-only by convention; it isn't cryptographically tamper-proof.
Before we open it to anyone else's mail
- Testing with real mail providers and OAuth
- Managed certificate lifecycle and credential rotation
- Key management service, key rotation, deletion and tested backup restore
- Encrypted swap, no core dumps, and defined retention and deletion
- Distributed rate limits and quotas
- Fuzzing of the IMAP parser and exact handling of native extensions
- A data processing agreement, published subprocessors and region choices
- An independent security review and penetration test
Until these are done, Edgebox isn't open to anyone else's mail. There is no SLA and no compliance certification.