Mailoo logo

Mailoo

Connects AI agents to multiple IMAP/SMTP accounts for searching, reading, drafting, sending, scheduling, and mailbox administration.

Install Mailoo

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mailoo": {
      "command": "npx",
      "args": [
        "-y",
        "@bitfloo/mailoo"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio mailoo -- npx -y @bitfloo/mailoo

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.

Overview

mailoo MCP server connects AI assistants and agents to multiple email accounts through IMAP and SMTP. It exposes tools for finding, reading, searching, threading, exporting, and analyzing messages, along with sending, drafting, replying, forwarding, and scheduling workflows. Per-account and per-folder configuration supports setups where one agent needs to work across several mailboxes. Reach for it when email access must remain self-hosted and controllable through read-only mode, toolset profiles, and explicit write operations.

Use cases

  • Search multiple inboxes by sender, keyword, date, or message flags
  • Summarize unread messages and reconstruct email conversations
  • Prepare drafts, replies, forwards, and scheduled outbound messages
  • Inspect attachments, security headers, contacts, and mailbox statistics

Key features

  • Multi-account IMAP and SMTP access
  • Read-only mode and scoped toolset profiles
  • Thread-aware replies and RFC 822 exports
  • Drafts, templates, attachments, and scheduled delivery
  • ManageSieve script management
  • Email analytics, health checks, and sender-authentication inspection

Tools57

What Mailoo lets your agent do. Expand a tool for its parameters.

Self-reported~941 tokens of context

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.

14/14 checks healthy over the last 68d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 4d ago via OSV.dev · @bitfloo/mailoo (npm)

Adoption & maintenance

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

npm downloads2.2kPackage downloads in the last 30 days.
Last commit4d agoMost recent push to the default branch.
Tools exposed57Callable tools this server registers over MCP.

How Mailoo works

What mailoo does

mailoo gives an MCP client access to configured email accounts over IMAP and SMTP. It supports multiple accounts and can resolve messages across ordinary and virtual folders. Read operations cover mailbox discovery, paginated message lists, full message content, attachment metadata, message state, keyword searches, conversation reconstruction, contact extraction, statistics, and connection diagnostics.

The server also supports common email actions. Agents can create and send messages, reply with threading headers, forward messages with quoted content, save and send drafts, apply templates, and schedule or cancel future delivery. ManageSieve tools provide access to server-side filtering scripts when the mail provider exposes ManageSieve.

How it works

Mailoo runs locally and communicates with an MCP client over standard input/output. The client starts the package with the stdio command, while the server connects onward to the IMAP, SMTP, and optional ManageSieve services configured for each account. A typical first interaction calls list_accounts, then uses the returned account name with tools such as list_emails and get_email.

Tool registration can be narrowed with MCP_EMAIL_TOOLSET, using full, core, or minimal profiles. Setting MCP_EMAIL_READ_ONLY=true removes write tools, background watchers, hooks, and schedulers at startup. Higher-risk operations also accept dryRun: true for validation and a preview without changing server state.

Setup and configuration

Node.js 24 or newer is required. Add an account with the package command below, edit the generated configuration, and install the MCP client entry:

Terminal
npx -y @bitfloo/mailoo@latest account add
npx -y @bitfloo/mailoo@latest config edit
npx -y @bitfloo/mailoo@latest install

Account setup requires the relevant email credentials and may require an app password from the provider. The guided installer supports Claude Desktop and Cursor. Agent builders can instead register a standard stdio entry:

config.json
{
  "mcpServers": {
    "mailoo": {
      "command": "npx",
      "args": ["-y", "@bitfloo/mailoo@latest", "stdio"],
      "env": {
        "MCP_EMAIL_READ_ONLY": "true",
        "MCP_EMAIL_TOOLSET": "core"
      }
    }
  }
}

Configuration is stored under the platform configuration directory, with config.toml protected by restrictive file permissions. Change the read-only setting in the configuration or environment and restart the server before enabling writes.

Tools and capabilities

The exposed tools include:

  • Account and mailbox discovery with list_accounts and list_mailboxes, including unread counts and special-use flags.
  • Filtered and paginated message retrieval through list_emails, search_emails, get_email, get_emails, and get_email_status.
  • Conversation and message inspection with get_thread, find_email_folder, extract_contacts, get_email_stats, get_email_security, and check_health.
  • File and source handling through download_attachment and export_email, returning base64 data or saving within the permitted working directory.
  • Message composition with send_email, reply_email, forward_email, save_draft, send_draft, and apply_template.
  • Future delivery management with schedule_email, list_scheduled, and cancel_scheduled.
  • ManageSieve status, listing, retrieval, creation or replacement, and deletion through the sieve_* tools.

Email searches accept date boundaries using since and before, with start_date and end_date as aliases. Batch full-message retrieval is limited to 20 messages per call. Attachments and raw RFC 822 exports can be written to disk with savePath, subject to path and size controls.

Limitations and notes

Mailoo sends requested mail content to the MCP client and its model provider. Optional classification and webhook features can send data to their configured services. Read-only mode is the safer initial configuration because the default writable setup exposes operations that can send messages or modify server-side data.

The server enforces per-account send rate limits, validates TLS and STARTTLS behavior, and restricts attachment or .eml writes to an approved working-directory boundary. ManageSieve requires an available service, normally on port 4190, and refuses plaintext authentication without STARTTLS. OAuth2 support for Gmail and Microsoft 365 is experimental.

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 Mailoo

mailoo is an MCP server that connects AI assistants and agents to multiple email accounts over IMAP and SMTP. Its main tools list accounts and mailboxes, search and read messages, inspect threads and attachments, create drafts, send or reply to email, schedule delivery, and manage server-side Sieve scripts.

Install mailoo with Node.js 24 or newer by running `npx -y @bitfloo/mailoo@latest account add`, then `config edit`, followed by `install`. The guided installer can add the configuration for Claude Desktop or Cursor.

Yes, mailoo includes a guided setup path for Cursor. Add an account, edit the configuration, run the installer, and restart Cursor after installation. Agent builders can also connect through the standard stdio configuration.

Set `MCP_EMAIL_READ_ONLY` to `true`, or select read-only mode during `config edit`, then restart mailoo. This disables write tools, background watchers, hooks, and schedulers while leaving the read-only tool set available.

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 PreviewMailoo AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mailoo?style=directory)](https://allmcps.com/mcp/mailoo)
HTML Embed
<a href="https://allmcps.com/mcp/mailoo"><img src="https://allmcps.com/api/badge/mailoo?style=directory" alt="Mailoo on AllMCPs" /></a>