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.




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.
What it does.
Familiar inbox
Inbox, Starred, Sent, Drafts, All Mail, Spam, Trash, labels and conversations.
Your own domain
Receive with Cloudflare Email Routing and send as you@yourdomain.com with Resend.
Any database
SQLite, MongoDB, PostgreSQL, MySQL or Firebase — change one line.
Undo send & live mail
Undo Send, instant new mail, desktop notifications and keyboard shortcuts.
Private by default
Remote images blocked until allowed, HTML cleaned and shown in a sandboxed frame.
Secure
Hashed passwords, encrypted mail credentials, CSRF protection and rate limits.
Try it
PKJ Mails · New · Open source