Deploy Now

Stars

7,093

Forks

1,229

Watchers

10

Developer links

Mailflare

Mailflare is a self-hosted alternative to Google Workspace that gives your own domains email, a calendar, public booking links, file storage, and built-in AI agents in a single app with no per-seat subscription. Add as many domains and aliases as you like, then create mailboxes with threaded conversations, rich formatting, attachments, signatures, snooze, undo send, and follow-up reminders. Routing rules store, forward, reject, or sort incoming mail before it reaches the inbox, and full-text search digs up old messages on demand. The calendar handles repeating events across time zones, emails invitations to attendees, and sends push reminders. Share a booking page and clients pick a free slot in their own time zone and language, which replaces a paid scheduling tool. Drive stores and shares documents and email attachments on local disk or S3-compatible buckets. The AI assistant searches your mail, drafts replies, and manages events, while an MCP connection lets outside AI tools do the same. Send through Cloudflare, Resend, Amazon SES, or any SMTP relay, and migrate existing mail from IMAP, Gmail Takeout, EML, and MBOX files. Admins get user management, API keys, webhooks, audit logs, scheduled backups, and a 34-language interface. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. AGPL-3.0 licensed.

Mailflare
Mailflare
Mailflare
Mailflare
Mailflare

Benefits

  • Own Every Domain And Mailbox
  • Add unlimited domains and aliases and create mailboxes whose messages, attachments, and backups live in one data volume on your own server rather than with a hosted vendor.
  • Replace Calendly And Drive Together
  • Native booking pages show real-time availability in each guest's time zone and language, and Drive stores shared files, so scheduling and storage stop costing separate subscriptions.
  • Pick Your Sending Provider
  • Outbound mail can go through Cloudflare Email Sending, Resend, Amazon SES, or any SMTP relay, so you choose the delivery service and pricing that suits your sending volume.
  • Migrate Existing Mail Easily
  • Import messages from IMAP accounts, Gmail Takeout, .eml files, and .mbox archives, so switching from Google Workspace or another host does not mean abandoning your old mail history.

Features

  • Built-In SMTP Listener
  • The container listens on port 25 for inbound mail on every added domain, with optional STARTTLS using your own certificate, or accepts mail through a Cloudflare Email Routing relay.
  • Calendar With Invitations
  • Repeating events with automatic time-zone handling, Web Push reminders, and email invitations to attendees, plus public booking links that show real-time availability.
  • AI Agents And MCP
  • Set AI_BASE_URL, AI_API_KEY, and AI_MODEL to enable an assistant that searches mail, drafts replies, and manages events, and connect outside AI tools over MCP.
  • Mail Routing Rules
  • Rules store, forward, reject, or sort messages on delivery, and reject rules answer the sender with an SMTP 550 during the transaction instead of bouncing later.
  • Admin And Backups
  • User management, API keys, webhooks, audit logs, and a daily 02:00 UTC backup with an admin Backups page that writes archives to the persistent data volume.
  • Flexible Database Options
  • Local SQLite by default in Docker, or point DATABASE_URL at PostgreSQL, MySQL, or Turso libSQL, with files kept on local disk, Backblaze B2, or AWS S3.

Apps Similar to Mailflare