Marco Email App's Offline-First Architecture Evolution
2025-08-29

The Marco email app team embarked on a long journey to build an IMAP-based, cross-platform, and offline-first application. They experimented with various solutions, including WatermelonDB, Triplit, and InstantDB, but abandoned them due to performance bottlenecks or functional limitations. Ultimately, they chose Replicache for its superior performance and flexibility, combining it with Orama for robust indexing and search. This story highlights the challenges and opportunities of building high-performance offline-first applications and foreshadows the future of data synchronization: from shared endpoints to shared databases.