Deploy Mailflare (w/ admin login)

Email, calendar and drive on your own domain. Your own admin login.

Deploy Mailflare (w/ admin login)

Just deployed

/data

Deploy and Host Mailflare (w/ admin login) on Railway

Mailflare gives you mailboxes, calendar, contacts, drive and booking pages on your own domain, as a self-hosted alternative to Google Workspace. This template creates your admin mailbox from the deploy form, so nobody can claim the setup page first, and it generates a unique secret for incoming mail on every deploy.

Mailflare: mail, calendar and drive on your own domain

About Hosting Mailflare (w/ admin login)

It runs Mailflare 0.5.5 with its database, mail and files on one volume. Mail arrives through Cloudflare Email Routing, Amazon SES or Resend, and leaves through Amazon SES, Resend or Cloudflare. Deploy, then sign in as your mailbox address (the user and domain from the deploy form) with the password you chose there.

Common Use Cases

  • Business email on your domain
  • Shared calendar and booking pages
  • Team drive without Google Workspace

Dependencies for Mailflare (w/ admin login) Hosting

  • Mailflare
  • Volume (SQLite, mail and files)

Deployment Dependencies

Implementation Details

Mailflare (w/ admin login) architecture

Idles at about 0.15 GB, so it fits the Free plan. Back up the volume: it holds every mailbox, attachment and file. Railway can't receive mail on port 25, and outgoing SMTP needs a Pro plan, so all mail travels over HTTPS through the providers above, on every plan.

Receive and send mail

  1. With your domain's DNS on Cloudflare (the free plan is enough), turn on Email Routing for it.
  2. Deploy Mailflare's deploy/cloudflare-email-relay Worker with two secrets: MAILFLARE_URL (this service's public URL) and INBOUND_WEBHOOK_SECRET (copy it from this service's variables).
  3. In Cloudflare, Email Routing → Routing rules, send the catch-all address to the mailflare-email-relay Worker.
  4. Without Cloudflare DNS, open Admin → Domains in Mailflare, expand your domain and set up receiving with Amazon SES or Resend instead.
  5. In the same place, choose a sending provider. For Amazon SES, fill the deploy form's AWS fields with an IAM key, then add the three DKIM records the domain page lists.

Why Deploy Mailflare (w/ admin login) on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying Mailflare (w/ admin login) on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.

Updated 2026-11-17: First release, Mailflare 0.5.5.


Template Content

More templates in this category

View Template
Rocky Linux
Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀

codestorm
51
View Template
Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)

Lucas
71
View Template
NEW
Double Commander in your browser
The Double Commander file manager in the cloud, from any device

Nermin Sabanovic
0