Mailflare

Self-hosted email, calendar, drive and booking for your own domain, with an assistant and MCP. Comes with PostgreSQL. Enter a domain you own, or a temporary URL such as https://mail.example.com. After the project exists, generate a domain on the mailflare HTTP port, change the app URL to that address, redeploy, then open /setup and create the admin account. Files stay on the mailflare volume unless you set Amazon S3. Cloudflare R2 is a Workers binding and is not a setting on this image. Mail uses Resend, Amazon SES or Cloudflare; enter a single hyphen for any setting you are not using. Direct SMTP on port 25 is off.


Self-hosted email, calendar, drive and booking for your own domain, with an assistant and MCP. Comes with PostgreSQL. Enter a domain you own, or a temporary URL such as https://mail.example.com. After the project exists, generate a domain on the mailflare HTTP port, change the app URL to that address, redeploy, then open /setup and create the admin account. Files stay on the mailflare volume unless you set Amazon S3. Cloudflare R2 is a Workers binding and is not a setting on this image. Mail uses Resend, Amazon SES or Cloudflare; enter a single hyphen for any setting you are not using. Direct SMTP on port 25 is off.

Category
Productivity
Services
2
Memory
1 GB
Publisher
Zenavo

What you fill in when deploying

App URL
The full address of this Mailflare, with no trailing slash, such as https://mail.example.com. Password resets and JMAP use it. Use a domain you own, or a temporary URL. After the project exists, generate a domain on the mailflare HTTP port, set this to that address, redeploy, then open /setup.
S3 bucket
Bucket for raw mail, attachments, Drive files and backups. All four S3 settings are used together. Enter - to keep files on the mailflare volume.
S3 region
Region of that bucket, such as us-east-1. This image talks only to Amazon S3. Enter - to leave S3 unset.
S3 access key ID
Access key ID for the bucket. Enter - to use the SES access key below, or to leave S3 unset when that key is also -.
S3 secret access key
Secret access key for the bucket. Enter - to use the SES secret key below.
Resend API key
API key for sending and receiving a domain through Resend. It overrides a key saved in the app. Enter - if you do not use Resend.
SES access key ID
Access key ID for Amazon SES. S3 uses this key when its own access key is -. Enter - if you do not use SES.
SES secret access key
Secret access key for Amazon SES. Enter - if you do not use SES.
SES region
Region for Amazon SES, such as us-east-1. Receiving works only in some regions. Enter - if you do not use SES. S3 prefers the S3 region above.
Cloudflare account ID
Account ID for Cloudflare Email Sending. Enter - if you do not send through Cloudflare. Email Routing receive uses the relay Worker, not this ID.
Cloudflare API token
Token with Email Sending edit. Add DNS and Email Routing edit as well if Mailflare should write DNS when you add a domain. Enter - if you do not use Cloudflare.
Inbound webhook secret
Shared secret for the Cloudflare Email Routing relay Worker (deploy/cloudflare-email-relay). The relay and this service must match. Enter - to leave /api/inbound off. Resend and SES receiving do not use it.

How deploying works

  1. Choose the server and fill in its settings on the next step.
  2. Passwords are generated for you. After deploying, give the app a domain under its Networking tab.