CleanMail
WebApp
CleanMail
CleanMail is a self-hosted, web-based email client built as a modern alternative to aging webmail solutions like Roundcube. It connects to any IMAP/SMTP server, giving users full ownership of their data without relying on third-party providers like Gmail. The frontend is built with React and Vite, styled with Tailwind CSS, and uses Zustand for state management. The backend runs on Node.js and handles IMAP/SMTP communication, JWT authentication, contacts, push notifications, and user settings. The app is deployed as a Progressive Web App, making it installable on any device without the overhead of a native client.
-
Domain - mail.webbetas.com
-
Year - 2025
-
Type - WebApp
-
Industry - Technology
Challenge
Most self-hosted webmail options have outdated interfaces and poor mobile support, while hosted providers require surrendering email data to third parties. Building a reliable, production-grade email client from scratch introduced several hard problems: preventing duplicate email sends, handling token expiry gracefully without wiping user accounts, ensuring email delivery wasn't silently broken by DNS misconfiguration, and providing a desktop-like experience without the maintenance burden of additional apps.
Solution
CleanMail addresses these by combining a clean, responsive React UI with a robust Node.js backend that speaks directly to IMAP/SMTP servers. Token expiry now prompts re-authentication instead of removing accounts. Email sending uses proper state management to block duplicate submissions. DNS was tuned to eliminate dual PTR records that confused receiving mail servers. Electron was dropped entirely in favor of a PWA, reducing maintenance complexity while still offering installability across platforms. The result is a polished, self-hosted email experience deployed in production at mail.webbetas.com.
Projects
Projects
- ⌘ It is a long established fact that a reader will distracted by the readable content of a page when looking an its readable ⌘
- ⌘ It is a long established fact that a reader will distracted by the readable content of a page when looking an its readable ⌘
- ⌘ It is a long established fact that a reader will distracted by the readable content of a page when looking an its readable ⌘
- ⌘ It is a long established fact that a reader will distracted by the readable content of a page when looking an its readable ⌘