Your mail stays far away. The wait comes close
Edgebox is an IMAP edge proxy. Change one incoming-server setting in the mail app you already use, and repeat searches, message opens and reconnects are answered near you instead of crossing to a slow server every time.
Replay a measured command: Warm BODY SEARCH
Each trace rises when the answer arrives. The time axis is the lab run, slowed down so you can watch it.
Median answer came back 165× sooner through the edge in this lab run.
How it works
Your mailbox doesn't move. Outgoing mail keeps going straight to your provider. Edgebox only stands in the incoming IMAP path, keeps what can safely be kept, and hands everything else to the origin server untouched.
- 1 · point
Change the incoming server
Set your existing mail app's IMAP hostname to an Edgebox endpoint. No new app, no migration, no plugin. SMTP stays with your provider.
- 2 · keep warm
A session that's already open
Edgebox holds a scoped, warm connection to your origin and caches message bodies and headers that can't change, keyed by folder, UIDVALIDITY and UID.
- 3 · answer or forward
Answer only what it can prove
A SEARCH is answered from a local snapshot only when the snapshot covers it exactly. Anything it can't vouch for goes to your origin, with the same result you'd get directly.
Two freshness modes, plainly
Checks the origin every time
Before a local answer is returned, Edgebox confirms with your origin server that nothing has changed. You get origin-current results. The saving is smaller than the figures further down, because every answer still waits for that one round trip.
Trusts notifications instead
Edgebox watches the folder over IDLE and skips the per-command check until it sees a change, a failure or a 30-second watchdog. That's where the sub-millisecond numbers come from. It's eventually fresh: a change made elsewhere can take a notification's delay to show up.
What goes straight to your origin
Local SEARCH covers plain-text ASCII messages and common BODY, TEXT, header, Boolean, UID and sequence queries. Multipart messages, MIME encodings, non-ASCII content, stateful charsets, folded headers and unsupported syntax are forwarded to the origin. A cold snapshot is capped at 8 MiB or 10,000 messages. Sessions using CONDSTORE or QRESYNC that your server supports natively bypass the cache.
Separately from IMAP, operators get a snapshot search API with typo-tolerant matching you switch on per query. Your mail app's ordinary SEARCH is never fuzzed.
The lab numbers, with their caveats
One run, one machine, one small synthetic mailbox. We're showing the result that got slower too.
| Operation | Direct | Through Edgebox | Mode |
|---|---|---|---|
| Warm BODY SEARCH | 78.5 ms p95 80.0 | 0.475 ms p95 0.561 | Push-observed (opt-in) |
| Cached body fetch | 71.2 ms p95 71.7 | 0.276 ms p95 0.361 | Push-observed (opt-in) |
| Connect, log in, select, log out | 331 ms p95 335 | 185 ms p95 190 | Warm upstream session |
| First search, cold snapshot build | — | 519 ms | One-off per snapshot |
| New-mail notice, two clients sharing one watcher | 578 ms | 655 ms | Shared IDLE observer |
- Origin: a real Dovecot server on the same host, 300 deterministic synthetic messages, plaintext loopback, no TLS. The delay relay holds each read batch for 35 ms; it is not a calibrated WAN model.
- The SEARCH and fetch figures use the opt-in push-observed mode. The default strict mode adds one origin check per answer, which these figures do not include.
- Sharing one IDLE watcher between clients reduces watchers, not total origin connections, and in this run it made notifications slower.
- A 300-message mailbox says nothing about large archives or production capacity. We'll publish real-network results when we have them.
Where it is today
Working in the prototype
- IMAP proxying for unmodified clients, with warm per-mailbox origin sessions
- Exact local SEARCH for the cases above, falling back otherwise
- Encrypted credentials, snapshots and sync ledgers at rest, keyed per tenant
- Snapshot search API with opt-in fuzzy matching
Not built yet
- CONDSTORE/QRESYNC emulation for servers that lack them: an internal engine exists, but it isn't wired in or advertised
- OAuth sign-in, self-service onboarding and payments
- Multiple edge locations
- Testing against real providers and a broad range of mail clients