Home / Engineering / Building the plugin sandbox
Platform · Engineering

Building the plugin sandbox

Third-party code runs somewhere safe. Here's the isolation model.

This is how Clean Email Pro actually does it — written by the engineers who built it, with the trade-offs intact.

The problem

Every product at Clean Email Pro's scale hits this: the naive approach works until it doesn't, and the failure mode is always at 3am.

What we built

We designed for the failure mode first. The system degrades gracefully, emits telemetry at every stage, and recovers without human intervention in the common cases.

What we'd do differently

Ship the boring version sooner. Cleverness is a liability you pay for in incidents.