# Mailtrap MCP server

> Send email, test in Sandbox, manage templates and domains, and check delivery logs in Mailtrap by asking.

- Sign-in: See setup
- Connect in RevampKey: https://revampkey.com/marketplace/mailtrap

## Agent skills (5)

- [Mailtrap Essentials: safe email tool use with AI](https://revampkey.com/marketplace/mailtrap/skills/essentials.md): Work with your Mailtrap account through AI, confirming the account and whether each action targets sandbox testing or live sending. It asks before sending mail or deleting anything.
- [Mailtrap Email Delivery Check with AI: Trace One Message](https://revampkey.com/marketplace/mailtrap/skills/email-delivery-check.md): Finds one transactional email in your Mailtrap logs and tells you whether it was delivered, bounced, is still retrying, or was never sent. It asks before resending anything.
- [Mailtrap Sandbox Testing Setup with AI: Set Up and Reset Test Inboxes](https://revampkey.com/marketplace/mailtrap/skills/sandbox-testing-setup.md): Finds or creates the right sandbox project and inbox, sends test emails into it, checks what arrived, and resets it on request. It asks before creating, changing or emptying anything.
- [Mailtrap Sending Domain Health Check with AI](https://revampkey.com/marketplace/mailtrap/skills/sending-domain-health.md): Audits your Mailtrap sending domains, reading each domain's state and sending volume trends to flag domains that need attention before mail fails. It asks for your explicit approval before changing any domain.
- [Mailtrap Email Template Audit and Cleanup with AI](https://revampkey.com/marketplace/mailtrap/skills/template-audit-and-cleanup.md): Inventories your Mailtrap email templates, flags duplicates, orphans and unclear ones, and proposes updates or deletions. It asks for your explicit approval before changing or removing any template.

All skills: https://revampkey.com/marketplace/mailtrap/skills.md

Mailtrap is an email delivery platform from Mailtrap.io. Developers and product teams use it to send transactional and promotional emails through its Email API or SMTP. Its Email Sandbox lets developers and QA testers test staging emails safely. The company says more than 150,000 people use it every month.

Connect Mailtrap from the Connectors tab in RevampKey. Then the agent can work in your Mailtrap account through 23 tools. It can send email, and create, list, update or delete templates. It can manage sandbox projects and sandbox inboxes, read sandbox messages, and manage sending domains. Every change waits for your approval.

Questions about past mail are simpler. The agent can search your email logs, open a single log message, and pull your sending stats. These tools only read, so nothing in your account changes. Ask for a summary and it will tell you what it found in plain terms.

## What you can do

### Check a staging email before release

Your team is testing a password reset email on staging. Ask the agent to list the messages in your staging sandbox inbox and open the reset email. It shows you the message so you can check the wording and links. If you want a fresh inbox for the next round, it asks before it creates one.

### Update a welcome email template

Marketing wants the welcome email reworded. Ask the agent to list your Mailtrap templates and find the welcome one. It shows you the current version. Tell it the new subject or text, and it asks you to confirm before it updates the template. Old templates can be deleted the same way.

### Find out why a customer got no email

A customer says an email never arrived. Ask the agent to find the email logs for that address and open the matching message. It reports what the log shows for that message. Then ask for sending stats to see whether the problem affects more than one customer.

## Things to ask

- List my Mailtrap sending domains and open the details for mail.example.com.
- List my Mailtrap templates and update the welcome template's subject to 'Welcome to Acme'.
- Open the last message in my staging sandbox inbox and tell me if the reset link looks right.
- Create a sandbox inbox named QA checkout in my staging sandbox project.
- Find the email logs for jane@example.com and summarize what happened to each message.

## What the agent can do

### Email sending and templates

Send an email to an address you name. Create, list, update and delete templates. The agent asks before it sends, creates, changes or deletes anything.

`send-email`, `create-template`, `list-templates`, `update-template`, `delete-template`

### Sandbox testing

Send test emails into a sandbox, list the messages in a sandbox inbox, and open one message to read it. A sandbox test email asks for your approval first.

`send-sandbox-email`, `get-sandbox-messages`, `show-sandbox-email-message`

### Sandbox projects and inboxes

List your sandbox projects. Create or delete a project. Get, update, delete or clean out a sandbox inbox. The agent asks before any create, change or delete.

`list-sandbox-projects`, `create-sandbox-project`, `delete-sandbox-project`, `create-sandbox-inbox`, `get-sandbox-inbox`, `update-sandbox-inbox`, `delete-sandbox-inbox`, `clean-sandbox-inbox`

### Delivery logs and stats

Search your email logs, open one log message, and pull sending stats. These tools only read, so the agent can report what happened without changing anything.

`get-sending-stats`, `list-email-logs`, `get-email-log-message`

### Sending domains

List your sending domains and open one to see its details. Add a new sending domain or remove one. The agent asks before it adds or removes a domain.

`list-sending-domains`, `get-sending-domain`, `create-sending-domain`, `delete-sending-domain`

## FAQ

### What do I need to connect Mailtrap to RevampKey?

Open the Connectors tab in RevampKey and add Mailtrap. The Mailtrap server docs list what it needs: a Mailtrap account, a verified sending domain, an API token from Mailtrap API settings, and your Account ID.

### What can the agent do in Mailtrap, and what can it not do?

It can send email, manage templates, sandbox projects and inboxes, and sending domains. It can also read sandbox messages, email logs and sending stats. It cannot use any tool outside the 23 listed for this connector, so it has no contact, webhook or billing tools here.

### Does the agent change anything without asking first?

No. Twelve tools create, change or delete things, including sending email, editing templates, and removing sandbox inboxes or sending domains. The agent asks you before each of them. The other eleven tools only read. Check the agent's answers before you rely on them.

### Can I use RevampKey to test Mailtrap sandbox emails?

Yes. Ask the agent to send a test email into a sandbox, list the messages in a sandbox inbox, or open one message to read it. Sending a sandbox test email asks for your approval first. Email Sandbox is the Mailtrap feature built for developers and QA testers who test staging emails.

### Is the Mailtrap MCP server local or remote?

It runs on your own computer with npx (package mcp-mailtrap@0.10.0). Your client starts it as a local process; nothing is hosted.

### What can an AI agent do with the Mailtrap MCP server?

It exposes 23 tools: 11 that read and 12 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

### Are there agent skills for Mailtrap?

Yes. 5 SKILL.md playbooks teach an agent how to do real Mailtrap work step by step. RevampKey installs them when you connect Mailtrap; for Claude Code, Cursor or Codex you can copy them into your project.

## Tools (23)

- `clean-sandbox-inbox`
- `create-sandbox-inbox` (changes data)
- `create-sandbox-project` (changes data)
- `create-sending-domain` (changes data)
- `create-template` (changes data)
- `delete-sandbox-inbox` (changes data)
- `delete-sandbox-project` (changes data)
- `delete-sending-domain` (changes data)
- `delete-template` (changes data)
- `get-email-log-message`
- `get-sandbox-inbox`
- `get-sandbox-messages`
- `get-sending-domain`
- `get-sending-stats`
- `list-email-logs`
- `list-sandbox-projects`
- `list-sending-domains`
- `list-templates`
- `send-email` (changes data)
- `send-sandbox-email` (changes data)
- `show-sandbox-email-message`
- `update-sandbox-inbox` (changes data)
- `update-template` (changes data)

## Details

- Maker: Mailtrap.io
- Setup: Connect from the app
- Documentation: https://github.com/mailtrap/mailtrap-mcp#readme

Page: https://revampkey.com/marketplace/mailtrap
