Skip to main content

Try the Email Client

This is a simulation of the ArgoBox email UI. The real version runs at /admin/email.

How It Works

Six layers, zero monthly cost

1
DNS
Cloudflare DNS
MX records point to Cloudflare for inbound routing
2
Inbound
Email Routing
Catches mail → triggers Worker → stores in D1
3
Storage
D1 + R2
Email metadata/body in D1 (SQLite), attachments in R2 (S3-compatible)
4
Search
FTS5 Index
Full-text search over sender, subject, body. Sub-100ms queries
5
Outbound
Resend API
100 emails/day free tier. DKIM/SPF configured per domain
6
UI
Admin Email Client
3-column glassmorphism UI. Compose, read, search, manage mailboxes

Everything Included

All features, all free

📥

Inbound Email

Cloudflare Email Routing catches mail at your domain and forwards to a Worker for processing

Free
📤

Outbound Email

Resend free tier (100 emails/day) or any SMTP provider. Transactional + compose from admin UI

Free
🔍

Full-Text Search

SQLite FTS5 indexes every email body, subject, and sender for instant search

Free
📬

Multi-Mailbox

Multiple addresses across multiple domains. Filter by mailbox, send from any address

Free
📎

Attachment Storage

D1 BLOBs for small files, R2 for large attachments. Zero egress fees

Free
🔔

Real-Time Polling

10-second polling with browser notifications when the tab is unfocused

Free
🤖

AI Compose

AI-assisted email drafting with context from your knowledge base

Free
🔒

Sandboxed HTML

HTML emails render in sandboxed iframes. Input validation prevents header injection

Free

vs. SaaS Email Providers

What you'd pay elsewhere for the same capabilities

Provider Price Limits Lock-in
SendGrid $15-80/mo 40K-100K emails Vendor lock-in, rate limits, compliance reviews
Mailgun $15-80/mo 50K emails Credit card required, overage charges
Postmark $15-65/mo 10K-50K emails Dedicated IPs extra, no free tier
EdgeMail $0/mo 100 emails/day outbound, unlimited inbound Open source. Fork it, own it, leave whenever.

Get Started in 5 Minutes

Terminal
npx create-edgemail my-email-system
cd my-email-system
npm run setup    # configures CF Email Routing + D1 + R2
npm run deploy   # deploys to Cloudflare Workers

4 npm packages: @edgemail/core, @edgemail/api, @edgemail/client, create-edgemail. 6,400 lines. 143 tests. MIT license.