Back to Projects
Web App
DMail
Overview
DMail — Enterprise-Grade Serverless Email Platform
DMail is a full-stack, distributed web email application engineered for ultra-low-latency inbound message ingestion, custom domain DNS routing, and real-time inbox synchronization. Built on Next.js App Router and Supabase, it leverages Cloudflare Workers at the edge to parse raw MIME message streams and execute dynamic RPC-driven mailbox resolution with zero server maintenance overhead.
- Edge Email Ingestion Pipeline: Implemented an asynchronous Cloudflare Workers email routing worker utilizing
postal-mimeto process raw MIME streams, extract MIME threading headers (Message-ID,In-Reply-To,References), and upload binary attachments to Supabase Storage in under 200ms. - Real-Time Synchronized UI: Engineered an interactive inbox shell featuring drag-to-resize split panes, optimistic state updates, multi-folder routing, keyboard shortcut overlays, and instantaneous global search powered by Next.js Server Components and Supabase Realtime subscriptions.
- Domain & DNS Orchestration: Integrated custom domain management with automated DNS verification (MX, SPF, DKIM), multi-mailbox routing per organization, and granular HTML signature composers for multi-identity communications.
- Resilient Mail Delivery & Security: Built a robust composition engine complete with WYSIWYG rich-text editing, auto-saving draft queues, configurable undo-send toasts, and sandboxed HTML body rendering to prevent cross-site scripting (XSS) attacks.
Technologies
Next.jsTypeScriptCloudflare WorkersSupabaseResendPostgreSQLTailwind CSSshadcn/ui
Project Glimpse





