Fluxmail logo

Fluxmail

Connects agents to Gmail, Microsoft 365, Outlook.com, and IMAP/SMTP mailboxes for email operations over MCP.

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 AI agents to Gmail, Google Workspace, Microsoft 365, Outlook.com, and IMAP/SMTP mailboxes. It exposes tools for searching, reading, drafting, replying, forwarding, sending, scheduling, and organizing messages, with support for threads and attachments. Run it locally or in Docker, or use its REST API and CLI for application and operator workflows. Reach for Fluxmail when you need one self-hosted mailbox interface with per-client access controls.

Use cases

  • Search and summarize messages across connected mailboxes
  • Draft and send replies from an AI agent
  • Schedule outgoing email for later delivery
  • Organize messages with folders, labels, categories, stars, and archives
  • 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, searching, drafting, sending, and organizing email
  • Thread retrieval and attachment downloads
  • Local or Docker deployment with encrypted provider credentials
  • Permission profiles and custom access policies
  • Versioned REST API and operator CLI

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 60d

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 activity10 viewsConfig copies, upvotes, and views on AllMCPs.

How Fluxmail works

What Fluxmail does

Fluxmail provides an MCP interface for working with email across multiple mailbox providers. A single instance can connect Gmail, Google Workspace, Microsoft 365, Outlook.com, and IMAP/SMTP accounts. Agents can inspect messages and threads, find mail, create drafts, reply, forward, send, schedule, and organize messages.

Mailbox actions include marking messages as read, starring or archiving them, moving them between folders, sending them to Trash, and managing Gmail labels or Outlook categories. Agents can also retrieve complete messages and threads and download attachments. Several mailboxes can be used through the same instance.

The project also exposes a versioned REST API and a CLI. The MCP interface is intended for agents, while applications and backend workflows can use the API and operators can use the CLI to connect accounts, manage access, and run the service.

How it works

Fluxmail is self-hosted and can run locally or in Docker. Its database and encrypted provider credentials remain on the infrastructure where it runs. Fluxmail Cloud is available as a hosted alternative.

For a local MCP connection, a client launches the fluxmail command with the stdio mode and a permission profile, such as fluxmail stdio --profile full. The client must run as the same operating-system user and use the same Fluxmail data directory used during setup. Local stdio connections use the member session, so they do not require an API key or a separate HTTP server.

After connecting a mailbox, calling list_accounts checks whether the account is available. Scheduled messages require fluxmail serve or fluxmail scheduled run to remain active with the same data directory.

Setup and configuration

Fluxmail requires Node.js 22.22 or later. Install the package globally and initialize a local profile:

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

The setup flow is followed by mailbox connection and a choice between MCP, REST API, or CLI usage. Provider-specific setup covers Gmail, Outlook, and IMAP accounts.

Full access is intended for normal MCP operation because it permits reading, sending, scheduling, draft management, organization, and moving mail into or out of Trash while excluding permanent deletion. read-write and read-only profiles provide narrower alternatives. Bare stdio and API-key creation without permission options are read-only.

Tools and capabilities

  • Connect Gmail, Google Workspace, Microsoft 365, Outlook.com, and IMAP/SMTP mailboxes.
  • List, search, read, draft, reply to, forward, send, and schedule email.
  • Fetch 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.
  • Restrict clients to selected mailboxes and actions with permission profiles or custom policies.
  • Add members and assign mailbox access on Business and Enterprise plans.

Limitations and notes

The Personal plan supports three mailboxes and one member; paid plans increase those limits for shared team instances. Official Pro, Business, and Enterprise entitlements require a valid Fluxmail license key.

Fluxmail is source available under the Elastic License 2.0. The license permits use, modification, derivative works, and redistribution subject to its terms, but restricts changing or bypassing license-key functionality and offering Fluxmail itself as a hosted or managed service exposing a substantial set of its features. The Fluxmail name and logos are governed separately by its terms of service.

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 list, search, read, draft, reply, forward, send, schedule, and organize email, including messages, threads, attachments, labels, categories, folders, and Trash operations.

Install it globally with `npm install -g fluxmail`, then run `fluxmail setup --name "Your name" --email you@example.com`. Fluxmail requires Node.js 22.22 or later. After setup, connect a mailbox and configure the MCP, REST API, or CLI workflow.

Launch `fluxmail stdio --profile full` from the client configuration for a local connection. The client must use the same operating-system user and Fluxmail data directory as setup. Stdio uses the local member session and does not need an API key or separate HTTP server.

Yes, Fluxmail works with Cline through MCP settings and Cline CLI configuration. Its local stdio mode can be launched as `fluxmail stdio --profile full`; HTTP connection guidance is also available for clients that use that deployment style.

Yes, Fluxmail can limit each client to selected mailboxes and actions with permission profiles or custom policies. The available profiles include full, read-write, and read-only access, and Business and Enterprise plans can assign mailbox access to individual members.

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?style=directory)](https://allmcps.com/mcp/fluxmail)
HTML Embed
<a href="https://allmcps.com/mcp/fluxmail"><img src="https://allmcps.com/api/badge/fluxmail?style=directory" alt="Fluxmail on AllMCPs" /></a>