Mcp Mailtrap

86 tools. 45 can modify or destroy data without limits.

14 destructive tools with no built-in limits. Policy required.

Last updated:

45 can modify or destroy data
41 read-only
86 tools total

Community server · catalogue entry verified 27/06/2026

How to control Mcp Mailtrap ↓

What Mcp Mailtrap exposes to your agents

Read (41) Write / Execute (31) Destructive / Financial (14)
Critical Risk

The most dangerous Mcp Mailtrap tools

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

How to control Mcp Mailtrap

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

Deny destructive operations
{
  "clean-sandbox-inbox": {
    "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
{
  "batch-send-bulk-email": {
    "limits": [
      {
        "counter": "batch-send-bulk-email_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "forward-sandbox-message": {
    "limits": [
      {
        "counter": "forward-sandbox-message_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 Mailtrap — 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 MAILTRAP →

Instant setup, no code required.

All 86 Mcp Mailtrap tools

WRITE 30 tools
Write batch-send-bulk-email Send a batch of bulk emails (Mailtrap bulk-stream API) in one call. Shared fields go on Write batch-send-transactional-email Send a batch of transactional emails in one Mailtrap API call. Shared fields go on Write bulk-update-permissions Bulk create, update, or destroy permissions for an account access. Existing (resource_type, resource_id) pairs Write create-api-token Create a new API token. The response includes the secret Write create-contact Create a new contact. Requires Write create-contact-event Record a contact event (by Write create-contact-export Export contacts matching a set of AND-combined filters. Returns an export job; poll status with Write create-contact-field Create a new contact field definition. Write create-contact-import Bulk import contacts. Returns an import job record; poll status via Write create-contact-list Create a new contact list. Write create-sandbox-inbox Create a new sandbox test inbox within a project. Returns SMTP credentials for the new inbox. Write create-sandbox-project Create a new sandbox project to group test inboxes Write create-sending-domain Create a new sending domain Write create-sub-account Create a new sub-account under the organization. Requires Write create-template Create a new email template Write create-webhook Create a webhook. The response includes a Write enable-sandbox-email-address Enable the receive-by-email address for a sandbox Write mark-sandbox-as-read Mark all messages in a sandbox as read Write reset-sandbox-credentials Reset the SMTP credentials for a sandbox Write reset-sandbox-email-address Generate a new receive-by-email address for a sandbox Write send-sandbox-email Send an email in sandbox mode to a test inbox without delivering to your recipients Write send-sending-domain-setup-instructions Email DNS setup instructions for a sending domain to a given address. Write update-contact Update a contact (identified by ID or email). Write update-contact-field Update a contact field definition. Any combination of Write update-contact-list Rename an existing contact list. Write update-sandbox-inbox Update a sandbox inbox name or email username Write update-sandbox-message Mark a sandbox message as read or unread Write update-sandbox-project Rename an existing sandbox project Write update-template Update an existing email template Write update-webhook Update a webhook
READ 41 tools
Read forward-sandbox-message Forward a sandbox message to an email address (counts against your monthly forwarding quota) Read get-api-token Get an API token by ID. The secret token value is NOT returned here — only the metadata (name, last 4 digits, Read get-billing-usage Get the current billing cycle usage for the account (sending and testing plans, limits, and current counts). Read get-contact Get a contact by ID or email address. Returns the full contact record including list memberships, status, and Read get-contact-export Get the status of a contact export job. Once Read get-contact-field Get a contact field definition by ID. Read get-contact-import Get the status of a contact import job, including created/updated/over-limit counts. Read get-contact-list Get a contact list by ID. Read get-email-log-message Get a single email log message by ID (UUID) to inspect delivery status and event history. Read get-permission-resources Get all resources (inboxes, projects, domains, billing, account) to which the API token has admin access, nest Read get-sandbox-attachment Get the metadata and download URL for a single sandbox attachment. Read get-sandbox-inbox Get sandbox inbox details including SMTP credentials, email counts, and status Read get-sandbox-message-eml Get a sandbox message as an EML file payload. Read get-sandbox-message-headers Get the parsed mail headers for a sandbox message. Read get-sandbox-message-html Get the rendered HTML body of a sandbox message. Read get-sandbox-message-html-analysis Get HTML analysis for a sandbox message (client compatibility, problematic elements). Read get-sandbox-message-html-source Get the unrendered HTML source of a sandbox message. Read get-sandbox-message-raw Get the raw message (MIME-formatted) for a sandbox message. Read get-sandbox-message-spam-score Get the SpamAssassin spam report for a sandbox message (score, rules, report). Read get-sandbox-message-text Get the plain-text body of a sandbox message. Read get-sandbox-messages Get list of messages from the sandbox test inbox Read get-sandbox-project Get a sandbox project by ID, including its inboxes and email counts Read get-sending-domain Get a sending domain by ID and its verification status. Optionally include DNS setup instructions via include_ Read get-sending-stats Get email sending statistics (delivery, bounce, open, click, spam rates) for a date range. Optionally break do Read get-template Get a single email template by ID, including subject, category, and HTML/text body. Read get-webhook Get a single webhook by ID. Read list-account-accesses List account accesses (users, invites, API tokens) for the account. Optionally scope by domain UUIDs, inbox ID Read list-accounts List Mailtrap accounts accessible to the API token, with each account Read list-api-tokens List all API tokens for the account. Read list-contact-fields List all contact field definitions for the account. Read list-contact-lists List all contact lists for the account. Read list-email-logs List sent email logs (delivery history) with optional pagination and filters; use to debug delivery issues. Read list-sandbox-attachments List all attachments on a sandbox message. Read list-sandbox-projects List all sandbox projects and their inboxes in your Mailtrap account Read list-sandboxes List all sandboxes accessible to the API token across projects Read list-sending-domains List sending domains and their DNS verification status Read list-sub-accounts List sub-accounts in the organization. Requires Read list-suppressions List or search suppressions. Optionally filter by email. Returns up to 1000 suppressions per call. Read list-templates List all email templates Read list-webhooks List all webhooks for the account. Read show-sandbox-email-message Show sandbox email message details and content from the sandbox test inbox. Optionally include spam report (Sp

Related servers

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

Questions about Mcp Mailtrap

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

Yes. The Mcp Mailtrap server exposes 14 destructive tools including clean-sandbox-inbox, delete-api-token, delete-contact. 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 Mailtrap? +

The Mcp Mailtrap server has 30 write tools including batch-send-bulk-email, batch-send-transactional-email, bulk-update-permissions. 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 Mailtrap.

How many tools does the Mcp Mailtrap MCP server expose? +

86 tools across 3 categories: Destructive, Read, Write. 41 are read-only. 45 can modify, create, or delete data.

How do I enforce a policy on Mcp Mailtrap? +

Register the Mcp Mailtrap 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 Mailtrap tool call.

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

Instant setup, no code required.

86 Mcp Mailtrap 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.