Overview
Mailflare is a self-hosted alternative to Google Workspace. It sets up custom-domain email, calendar, drive, booking and built-in AI agents, and runs on Cloudflare or Docker.
Apps
- Email — personal or shared custom-domain mailboxes; send and receive with Cloudflare Email, Resend or Amazon SES
- Routing rules — store, forward, reject or sort incoming mail
- Calendar — repeating events with time zones and email invitations
- Booking — a public link where anyone can book free time on your calendar
- Drive — store and share files
- AI agents — search mail, draft replies and manage events; other AI tools can connect over MCP
Stack options
- Database: Cloudflare D1 (default), PostgreSQL, MySQL, Turso/libSQL or a local SQLite file (switch with
DATABASE_URL) - File storage: Cloudflare R2, Backblaze B2 or AWS S3
Mailflare is licensed under AGPL-3.0.