MailFlow is software for sorting incoming email into IMAP folders and preparing replies in the user’s writing style. It classifies messages using internal or client domains, threads, and keywords, with an LLM fallback. Replies are saved as drafts in the mailbox’s IMAP Drafts folder; MailFlow never sends email automatically. Mailboxes connect through generic IMAP or OAuth2 for Gmail and Microsoft 365. The project lists Ollama, OpenAI, Anthropic, Gemini, vLLM, LM Studio, and OpenAI-compatible endpoints as LLM options. MailFlow supports web, API, and self-hosted use, and its full web, API, and worker stack can run with Docker Compose. The project recommends local Ollama for privacy. Stored IMAP passwords and LLM API keys are encrypted using a Fernet SECRET_KEY; the security file warns that an early development key appeared in Git history and should not be reused for deployments. The README lists English and Spanish support. The managed Free plan is free and allows one mailbox and 100 emails per day. Paid costs 12.00 USD per month, with plan limits unstated. Self-hosted instances have no plan limits.
Who it is for
MailFlow suits individuals or teams looking to sort incoming IMAP mail and prepare reply drafts without automatic sending. It may also fit users who want to self-host or choose from several listed LLM options.
What is good
- Classifies mail into IMAP folders using domains, threads, and keywords.
- Saves generated replies in the IMAP Drafts folder.
- Connects through generic IMAP or OAuth2 for Gmail and Microsoft 365.
- Supports multiple listed LLM providers and compatible endpoints.
- Can be self-hosted with Docker Compose.
- Lists English and Spanish support.
What to know first
- Managed Free is limited to one mailbox.
- Managed Free allows 100 emails per day.
- MailFlow does not send email automatically.
- The security file warns against reusing an early development SECRET_KEY.
Verdict
Choose MailFlow if you want incoming mail classified and reply drafts prepared for review, especially if self-hosting or local Ollama matters to you. Managed Free is capped at one mailbox and 100 emails a day. Look elsewhere if you need the software to send replies automatically.
Get started with MailFlow
- Open the MailFlow project at https://github.com/NeoNexAI/MAILFLOW-AI_MAILING.
- Choose managed web use or a self-hosted deployment.
- For self-hosting, run the full web, API, and worker stack with Docker Compose.
- Connect a mailbox through generic IMAP or OAuth2 for Gmail or Microsoft 365.
- Configure an LLM option such as Ollama, OpenAI, Anthropic, Gemini, vLLM, LM Studio, or an OpenAI-compatible endpoint.
- Choose Free or Paid for managed use; Free is free and Paid is 12.00 USD per month.
What the free plan stops at
Managed Free allows one mailbox and 100 emails per day. Self-hosted instances have no plan limits. Paid plan limits are unstated.
Questions about MailFlow
What does MailFlow do with incoming email?
It classifies incoming mail into IMAP folders and creates reply drafts in the IMAP Drafts folder.
Does MailFlow send replies automatically?
No. Generated replies are saved as drafts and are not sent automatically.
Which email connections are supported?
Mailboxes can connect through generic IMAP or OAuth2 for Gmail and Microsoft 365.
Can MailFlow be self-hosted?
Yes. The full web, API, and worker stack can run using Docker Compose, and self-hosted instances have no plan limits.
What does the managed Free plan include?
It is free and is limited to one mailbox and 100 emails per day.
What does the paid plan cost?
Paid costs 12.00 USD per month; its plan limits are unstated.
MailFlow plans and pricing
All plansCompared on AI email assistants
- Free plan
- Yes
- Inbox triage
- Yes
- AI reply drafting
- Yes
- Automatic sending
- No




