Fluxmail logo

Fluxmail

Connects agents to Gmail, Outlook, Microsoft 365, Google Workspace, and IMAP/SMTP mailboxes for email workflows.

Install Fluxmail

Run the project’s own setup commands, in order.

Setup steps from the project

Fluxmail installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    npm install -g fluxmail
    
  2. 2. Configure
    fluxmail setup --name "Your name" --email you@example.com
    

Overview

Fluxmail MCP server connects agents to Gmail, Google Workspace, Microsoft 365, Outlook.com, and IMAP/SMTP mailboxes. It exposes email operations through MCP, with the same mailbox actions available through a versioned REST API and CLI. Agents can search, read, compose, send, schedule, and organize messages across multiple accounts, including attachment downloads and thread retrieval. Reach for Fluxmail when you need self-hosted mailbox access, local control of credentials, or permission-limited email automation.

Use cases

  • Search messages across connected mailboxes
  • Draft and send replies from an MCP client
  • Schedule outbound email for later delivery
  • Organize messages with folders, labels, or categories
  • Restrict agent access to selected mailboxes and actions

Key features

  • Gmail, Google Workspace, Microsoft 365, Outlook.com, and IMAP/SMTP support
  • MCP tools for reading, composing, sending, and organizing email
  • Versioned REST API and CLI access
  • Thread retrieval and attachment downloads
  • Permission profiles and custom access policies
  • Self-hosted local or Docker deployment

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 67d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars9Stargazers on the source repository.
Last commit3d agoMost recent push to the default branch.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Fluxmail works

What Fluxmail does

Fluxmail brings multiple mailbox providers behind one interface for agents and applications. A single instance can connect Gmail, Google Workspace, Microsoft 365, Outlook.com, and mailboxes using IMAP/SMTP. MCP clients can work with messages and threads, while applications can use the versioned REST API and operators can manage connections and service processes through the CLI.

Email actions include listing, searching, reading, drafting, replying, forwarding, sending, scheduling, and organizing messages. The server can retrieve complete messages and threads, download attachments, mark mail as read, star or archive it, move it between folders, send it to Trash, and manage Gmail labels or Outlook categories.

How it works

Fluxmail can run locally or in Docker, storing its database and encrypted provider credentials on the operator’s infrastructure. It also has a hosted option through Fluxmail Cloud. For a local MCP setup, the client launches fluxmail stdio --profile full and uses the local member session; this connection does not require an API key or a separate HTTP server.

The MCP client and the setup command must use the same operating-system user and Fluxmail data directory. Calling list_accounts provides a way to verify the mailbox connection. Scheduled messages require fluxmail serve or fluxmail scheduled run to remain active with that data directory.

The REST API and CLI provide alternate access paths for backend workflows and administration. Permission profiles or custom policies can restrict clients to particular mailboxes and actions. Business and Enterprise plans can also add members and assign mailbox access.

Setup and configuration

Fluxmail requires Node.js 22.22 or later. Install the CLI globally and initialize a local instance with:

Terminal
npm install -g fluxmail
fluxmail setup --name "Your name" --email you@example.com

After setup, connect a Gmail, Outlook, or IMAP mailbox and choose MCP, REST API, or CLI access. For ordinary MCP use, the full profile enables reading, sending, scheduling, drafts, organization, and moving messages into or out of Trash while excluding permanent deletion. read-write and read-only profiles provide narrower access. Bare stdio and API-key creation without permission settings are read-only.

Tools and capabilities

  • Connect Gmail, Google Workspace, Microsoft 365, Outlook.com, and IMAP/SMTP accounts.
  • Search, list, read, draft, reply to, forward, send, and schedule email.
  • Retrieve full messages and threads and download attachments.
  • Mark messages read, star or archive them, move them between folders, and send them to Trash.
  • Manage Gmail labels and Outlook categories.
  • Expose mailbox operations through MCP, REST, and the CLI.
  • Apply mailbox and action restrictions with permission profiles or custom policies.

Limitations and notes

The Personal plan supports up to three mailboxes and one member; paid plans increase those limits for teams. Fluxmail is source available under the Elastic License 2.0. Official Pro, Business, and Enterprise entitlements require a valid Fluxmail license key, and the license restricts offering Fluxmail itself as a hosted or managed service that exposes a substantial set of its features. Keep the service or scheduled runner active when scheduled mail must be delivered.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Fluxmail

Fluxmail is an MCP server that connects AI agents to Gmail, Google Workspace, Microsoft 365, Outlook.com, and IMAP/SMTP mailboxes. Its main tools let agents list, search, read, draft, reply, forward, send, schedule, and organize email, retrieve threads, and download attachments across connected accounts.

Install Fluxmail globally with `npm install -g fluxmail`, then run `fluxmail setup --name "Your name" --email you@example.com`. Node.js 22.22 or later is required. Connect a mailbox during the quickstart, then configure an MCP client to launch Fluxmail in stdio mode.

Configure the client to launch `fluxmail` with `stdio` and `--profile full`, using arguments `["stdio", "--profile", "full"]`. The client must run as the same operating-system user and use the data directory created during setup. Call `list_accounts` to check the connection.

Yes, Fluxmail supports Cline configuration for MCP connections. Its connection guidance covers Cline MCP settings and Cline CLI setup. Local stdio connections use the Fluxmail data directory and do not need an API key or separate HTTP server.

Keep `fluxmail serve` or `fluxmail scheduled run` running with the same data directory used by setup so scheduled messages can be delivered. The MCP tools support scheduling mail, and the full permission profile includes scheduling access.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFluxmail AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/fluxmail-2?style=directory)](https://allmcps.com/mcp/fluxmail-2)
HTML Embed
<a href="https://allmcps.com/mcp/fluxmail-2"><img src="https://allmcps.com/api/badge/fluxmail-2?style=directory" alt="Fluxmail on AllMCPs" /></a>