Mcp Mail Server

24 tools. 6 can modify or destroy data without limits.

1 destructive tool with no built-in limits. Policy required.

Last updated:

6 can modify or destroy data
18 read-only
24 tools total

Community server · catalogue entry verified 27/06/2026

How to control Mcp Mail Server ↓

What Mcp Mail Server exposes to your agents

Read (18) Write / Execute (5) Destructive / Financial (1)
Critical Risk

The most dangerous Mcp Mail Server tools

6 of Mcp Mail Server's 24 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

How to control Mcp Mail Server

PolicyLayer is an MCP gateway — it sits between your AI agents and Mcp Mail Server, and nothing reaches the server without passing your rules. These are the rules we recommend:

Deny destructive operations
{
  "delete_message": {
    "deny_if": [
      {
        "conditions": [],
        "on_deny": "Blocked by default. Requires approval."
      }
    ]
  }
}

Destructive tools should never be available to autonomous agents without human approval.

Rate limit write operations
{
  "disconnect_all": {
    "limits": [
      {
        "counter": "disconnect_all_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "get_attachments": {
    "limits": [
      {
        "counter": "get_attachments_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Mcp Mail Server — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON MCP MAIL →

Instant setup, no code required.

All 24 Mcp Mail Server tools

READ 18 tools
Read get_attachments Get attachment metadata (filename, size, contentType, index) for a specific email by UID. Does not download at Read get_connection_status Check the current connection status of both IMAP and SMTP servers. Read get_message Retrieve a specific email message by UID. Auto-connects if not already connected. Read get_message_count Get the total number of messages in INBOX. Auto-connects if not already connected. Read get_messages Retrieve multiple messages by their UIDs. Auto-connects if not already connected. Read get_recent_messages Get recent messages. Returns the most recent messages up to the specified limit. Auto-connects if not already Read get_unseen_messages Get unseen (unread) messages. Returns the most recent unseen messages up to the specified limit. Auto-connects Read list_mailboxes List all available mailboxes (folders). Auto-connects if not already connected. Read open_mailbox Open a specific mailbox (folder) and optionally retrieve sent mailbox info. Due to IMAP protocol limitations, Read search_all_messages Search all messages across mailboxes with optional date range and limit. Auto-connects if not already connecte Read search_by_body Search messages containing specific text in the body with optional date range. Auto-connects if not already co Read search_by_recipient Search messages sent to a specific recipient email address with optional date range. Auto-connects if not alre Read search_by_sender Search messages from a specific sender with optional date range. Auto-connects if not already connected. Read search_by_subject Search messages by subject keywords with optional date range. Auto-connects if not already connected. Read search_since_date Search messages from a specific date until now (not for date ranges). Use search_messages for complex date ran Read search_unread_from_sender Search unread messages from a specific sender with optional date range (demonstrates AND logic). Auto-connects Read search_unreplied_from_sender Search unreplied messages from a specific sender with optional date range. Identifies messages that have not b Read search_with_keyword Search messages with specific keyword/flag with optional date range. Auto-connects if not already connected.

Related servers

Other MCP servers with similar tools — same risk classification, starter policies for each.

Questions about Mcp Mail Server

Can an AI agent delete data through the Mcp Mail Server MCP server? +

Yes. The Mcp Mail Server server exposes 1 destructive tools including delete_message. These permanently remove resources with no undo. PolicyLayer blocks destructive tools by default so they never reach the upstream server.

How do I prevent bulk modifications through Mcp Mail Server? +

The Mcp Mail Server server has 4 write tools including disconnect_all, reply_to_email, save_attachment. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach Mcp Mail Server.

How many tools does the Mcp Mail Server MCP server expose? +

24 tools across 3 categories: Destructive, Read, Write. 18 are read-only. 6 can modify, create, or delete data.

How do I enforce a policy on Mcp Mail Server? +

Register the Mcp Mail Server MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Mcp Mail Server tool call.

Deterministic rules across all 24 Mcp Mail Server tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

24 Mcp Mail Server tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.