Open Source · MIT License

Your email.
Your server.
Your rules.

Selfmail is an open-source, self-hosted email client for your custom domain. No Big Tech. No surveillance. Just your inbox, on your infrastructure.

Features

Everything a modern email client needs

Custom Domain Email

Send and receive from your own domain — no Gmail, no Outlook, no middleman. Just you@yourdomain.com, fully in your control.

Real-Time Sync

Powered by Supabase Realtime. New emails appear instantly across all your devices the moment they arrive.

Full Email Client

Reply, forward with quoted text, save drafts, send attachments, archive, delete. Everything you expect from a modern inbox.

Mobile PWA

Install on iOS and Android as a standalone app. Works offline and syncs automatically when you come back online.

How it works

Up and running in three steps

  1. Step 1

    Set up Resend

    Create a Resend account, verify your custom domain, and get your API key. Resend handles delivery and inbound routing.

  2. Step 2

    Connect Supabase

    Create a Supabase project, run the migrations, and drop your project URL and anon key into the environment file.

  3. Step 3

    Deploy & Go

    Push to Vercel in one click. Log in with your magic link and your self-hosted inbox is live.

Built on trusted open infrastructure

Next.jsSupabaseResendVercelTailwind CSS

Ready to own your inbox?

Free and open-source. Self-host in about 20 minutes.