Open-source web app · 2026New · Open source

PKJ Mails

Your own webmail, with your own domain.

A self-hosted webmail with a familiar inbox. Read and send mail as you@yourdomain.com, run it on your computer or a free server, and keep every mail in the database you choose.

5databases supported
1-clickRender deploy
24automated tests
MITopen source
PKJ Mails — screenshot
TypeOpen-source web app
StatusNew · Open source
Year2026
Get itFree on GitHub (open source)
StackNode.js · Express · Nodemailer
Screenshots
PKJ Mails screenshot 1PKJ Mails screenshot 2PKJ Mails screenshot 3
Overview

The story.

Most people who buy a domain still send mail from a Gmail address, because a real domain mailbox usually means a monthly bill per user. PKJ Mails is a free, open-source alternative: a clean inbox you run yourself.

It receives mail for your domain through Cloudflare Email Routing (or from any existing mailbox over IMAP), sends through Resend, Brevo, Gmail or any SMTP server, and stores everything in SQLite, MongoDB, PostgreSQL, MySQL or Firebase — switching is one line of settings.

It is written for non-technical people: a first-run setup page that tests your mail settings, a one-click Deploy to Render button, and a step-by-step guide to get you@yourdomain.com working with only clicks and copy-paste.

Features

What it does.

01

Familiar inbox

Inbox, Starred, Sent, Drafts, All Mail, Spam, Trash, labels and conversations.

02

Your own domain

Receive with Cloudflare Email Routing and send as you@yourdomain.com with Resend.

03

Any database

SQLite, MongoDB, PostgreSQL, MySQL or Firebase — change one line.

04

Undo send & live mail

Undo Send, instant new mail, desktop notifications and keyboard shortcuts.

05

Private by default

Remote images blocked until allowed, HTML cleaned and shown in a sandboxed frame.

06

Secure

Hashed passwords, encrypted mail credentials, CSRF protection and rate limits.

Built with
Node.jsExpressNodemailerIMAPSQLite / MongoDB / Postgres / MySQL / FirebaseCloudflare Email Workers

Try it

PKJ Mails · New · Open source

Next projectSmartConnect