Email access for agents and apps, on your own server

Run Fluxmail on your computer or server to connect Gmail, Outlook, and IMAP mailboxes through MCP, a REST API, or the CLI.

Claude
ChatGPT
Codex
OpenClaw
Hermes
Cursor
Claude Code v2.1.201
Fluxmail MCP · local stdio
>

One email engine, three interfaces

Each interface works with the same email operations, mailboxes, and access controls.

MCP

Give Claude Code, Codex, Hermes, or any other agent access to your email.

  • Triage your inbox and prepare a morning brief
  • Search for a message or attachment in natural language
  • Draft replies for review, then send with approval
Connect an MCP client

REST API

Build email features with the same API for Gmail, Outlook, and IMAP.

  • Add a shared inbox to a support or operations tool
  • Route receipts and attachments into existing systems
  • Create, send, or schedule mail from a backend workflow
Explore the REST API

CLI

Read and manage email from your terminal.

  • Connect Gmail, Outlook, and IMAP accounts
  • Search, draft, send, and interact with your mail via CLI commands
  • Run the MCP server via stdio or Streamable HTTP
Browse CLI commands

Connect Gmail, Outlook, and IMAP mailboxes

Connect Gmail, Google Workspace, Outlook, Exchange, or any mailbox with IMAP/SMTP access.

Fluxmail

Email infrastructure for agents and apps

MCP

REST API

CLI

Gmail

Outlook

IMAP / SMTP

Your mail connects through the server you run

Runs on your computer or server

Fluxmail connects directly to your email provider. Your mail never passes through Fluxmail-hosted servers.

Encrypted credentials

OAuth tokens and mailbox passwords are stored in a local SQLite database with AES-256-GCM encryption.

Source-available code

Read the source code and report issues on GitHub.

Frequently asked questions

For help, email us or read the quickstart.

Connect your agent to your email

Run Fluxmail on your own infrastructure and use it through MCP, REST API, or CLI.