Mailtrap Connector for AI agents.
12 live capabilities
Test and debug transactional emails in a sandbox before they hit production.
Waiting for input…
Why people use Mailtrap
Mailtrap for Debugging Transactional Emails
This Connector changes that. You can just tell your agent to send a test and check the results. It pulls the HTML and the spam score into your chat immediately, letting you fix issues in seconds rather than minutes.
What Vinkius changes
You get a way to manage your entire email testing lifecycle through a natural conversation with your agent.
Use it from Claude, ChatGPT, Cursor or another AI client you already have.
One account · 5,900+ Connectors
- Real-world use case 01
Verifying a new sign-up flow
A developer wants to check if a new sign-up email renders correctly on mobile.
- Real-world use case 02
QA layout verification
A QA engineer needs to verify a new marketing blast.
- Real-world use case 03
Monitoring bounce rates
An ops lead wants to see why emails are bouncing.
Complete set · 12capabilities
The complete Mailtrap capability set.
These are the exact actions your AI can choose when you ask it to work with Mailtrap.
01—04
4 capabilities in this set.
Part of 12 available through Mailtrap.
- 01 Capability
Clear sandbox inbox
Wipe all messages from a specific test inbox. Use this to reset your environment for a fresh test run.
- 02 Capability
Delete sandbox message
Remove a specific captured email from your sandbox. This helps you clean up specific test results.
- 03 Capability
Get domain status
Check the current status and details of a specific sending domain. This helps you verify if your domain is ready for use.
- 04 Capability
Get message html
Pull the raw HTML body from a captured email message. Use this to inspect the code of a rendered email.
05—08
4 capabilities in this set.
Part of 12 available through Mailtrap.
- 05 Capability
Get message details
Get the metadata and headers for a specific message. This is great for checking auth passes and spam scores.
- 06 Capability
List accessible accounts
See all the Mailtrap accounts you have connected. Use this to manage multiple user profiles.
- 07 Capability
List verified domains
View all domains that are currently verified for sending. This ensures you know which domains are active.
- 08 Capability
List sandboxes
See a list of all your active virtual testing inboxes. You can use these to organize different test flows.
09—12
4 capabilities in this set.
Part of 12 available through Mailtrap.
- 09 Capability
List sandbox messages
List the messages currently sitting in a specific sandbox. This helps you see what has been captured so far.
- 10 Capability
List mailtrap projects
View all the projects organized in your account. Use this to keep different client work separated.
- 11 Capability
Send production email
Send a real email to a production recipient. This capability allows for live transactional sending via your agent.
- 12 Capability
Send test email
Send a test email to a sandbox for previewing. This is the safest way to verify your email templates.
Set up in minutes
One URL. Then ask Mailtrap to work.
Claude and ChatGPT only need the Connector URL. Copy it once, add it in settings, and use Mailtrap from the conversation.
Choose your client
Live previewAdvanced clients IDE · CLI
Claude · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_Ad5Juop0aQx2ay54WiDoJvVK7YtPyDjMRVyTPy0Y/mcp - Step 01
Open Connectors
In Claude Web or Claude Desktop, open Settings and choose Connectors.
- Step 02
Add the URL
Choose Add custom connector, name it Mailtrap, and paste the URL above.
- Step 03
Turn it on in chat
Select +, open Connectors, and enable Mailtrap for the conversation.
ChatGPT · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_Ad5Juop0aQx2ay54WiDoJvVK7YtPyDjMRVyTPy0Y/mcp - Step 01
Open MCP settings
On desktop, open Settings and MCP servers. On web, open your workspace app or connector settings.
- Step 02
Add the URL
Choose Add server with Streamable HTTP, or create a custom MCP app, then paste the Mailtrap URL.
- Step 03
Save and start
Save the connection and enable Mailtrap in your conversation. Desktop may ask you to restart once.
Cursor · IDE configuration
Advanced setup
{
"mcpServers": {
"mailtrap": {
"url": "https://edge.vinkius.com/vk_preview_Ad5Juop0aQx2ay54WiDoJvVK7YtPyDjMRVyTPy0Y/mcp"
}
}
} - Step 01
Open MCP Settings
Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"
- Step 02
Add the server config
Paste the JSON configuration above into the mcp.json file that opens
- Step 03
Save the file
Cursor will automatically detect the new Connector
- Step 04
Start using Mailtrap
Open Agent mode in chat and ask: "Using Mailtrap, help me...". 12 tools available
VS Code Copilot · IDE configuration
Advanced setup
{
"mcpServers": {
"mailtrap": {
"url": "https://edge.vinkius.com/vk_preview_Ad5Juop0aQx2ay54WiDoJvVK7YtPyDjMRVyTPy0Y/mcp"
}
}
} - Step 01
Create MCP config
Create a .vscode/mcp.json file in your project root
- Step 02
Add the server config
Paste the JSON configuration above
- Step 03
Enable Agent mode
Open GitHub Copilot Chat and switch to Agent mode using the dropdown
- Step 04
Start using Mailtrap
Ask Copilot: "Using Mailtrap, help me...". 12 tools available
Windsurf · IDE configuration
Advanced setup
{
"mcpServers": {
"mailtrap": {
"url": "https://edge.vinkius.com/vk_preview_Ad5Juop0aQx2ay54WiDoJvVK7YtPyDjMRVyTPy0Y/mcp"
}
}
} - Step 01
Open MCP Settings
Go to Settings → MCP Configuration or press Cmd+Shift+P and search "MCP"
- Step 02
Add the server
Paste the JSON configuration above into mcp_config.json
- Step 03
Save and reload
Windsurf will detect the new server automatically
- Step 04
Start using Mailtrap
Open Cascade and ask: "Using Mailtrap, help me...". 12 tools available
Cline · IDE configuration
Advanced setup
{
"mcpServers": {
"mailtrap": {
"url": "https://edge.vinkius.com/vk_preview_Ad5Juop0aQx2ay54WiDoJvVK7YtPyDjMRVyTPy0Y/mcp"
}
}
} - Step 01
Open Cline MCP Settings
Click the Connectors icon in the Cline sidebar panel
- Step 02
Add remote server
Click "Add Connector" and paste the configuration above
- Step 03
Enable the server
Toggle the server switch to ON
- Step 04
Start using Mailtrap
Ask Cline: "Using Mailtrap, help me...". 12 tools available
Claude Code · Terminal command
Advanced setup
claude mcp add mailtrap --transport http "https://edge.vinkius.com/vk_preview_Ad5Juop0aQx2ay54WiDoJvVK7YtPyDjMRVyTPy0Y/mcp" - Step 01
Install Claude Code
Run npm install -g @anthropic-ai/claude-code if not already installed
- Step 02
Add the Connector
Run the command above in your terminal
- Step 03
Verify the connection
Run claude mcp to list connected servers, or type /mcp inside a session
- Step 04
Start using Mailtrap
Ask Claude: "Using Mailtrap, show me...". 12 tools are ready
Where the request belongs
Work Mailtrap can move forward.
Developers who need to verify email flows without spamming real users, QA engineers checking for layout breaks, and ops teams monitoring production health.
QA Engineer
Verifies that transactional emails look right on mobile and desktop.
Backend Developer
Sends test emails to verify API triggers work correctly.
Operations Lead
Monitors production delivery rates and bounce stats for key projects.
Build the capability set
Add more capabilities.
Each Connector adds new actions and data without changing how you work.
Browse ConnectorsSendGrid
Deliver transactional and marketing emails at massive scale with industry-leading deliverability and real-time analytics.
Postmark
Equip your AI to send emails, monitor delivery stats, track bounces, and manage Postmark templates directly from your chat.
Mailinator
Test email workflows with disposable inboxes that catch every message without touching production mailboxes or real addresses.
UniOne
Send transactional and bulk emails with high deliverability, detailed analytics, and infrastructure that handles millions of messages.
Mailgun (Transactional Email & Domains)
Manage email infrastructure via Mailgun. send transactional emails, monitor domain health, and audit delivery logs.
Bring your own AI
Change the model, client or framework. Keep Mailtrap connected.
-
Claude -
ChatGPT -
Gemini -
Cursor -
VS Code -
Windsurf -
ZCode -
Cline -
Zed -
Continue -
Kiro -
Roo Code -
Zencoder -
Goose -
Void -
Augment Code -
Amp -
Qodo -
Tabnine -
Pieces -
Sourcegraph Cody -
JetBrains -
Warp -
Amazon Q -
Antigravity -
BoltAI -
Raycast -
Jan -
LM Studio -
AnythingLLM -
Open WebUI -
Msty -
Cherry Studio -
LibreChat -
TypingMind -
Chorus -
5ire -
n8n -
LangChain -
LlamaIndex -
CrewAI -
Vercel AI SDK
Before you connect
Questions about Mailtrap.
The practical details behind the request, access and result.
Can I use Mailtrap MCP to test my production emails?
Yes, it has a specific capability for production, but it's primarily designed for testing in a sandbox environment.
Does Mailtrap MCP help with spam scores?
Yes, it pulls the score and headers for your messages so you can check if they are likely to be flagged.
How do I switch between different test inboxes?
You can just ask your agent to switch to a specific sandbox or project name.
Can it check if my HTML is broken?
Yes, it can pull the HTML body of any captured email directly into your chat for inspection.
Does this Connector send emails to real people?
Only if you specifically use the production capability. Most users use it to send test emails to a sandbox.
Can I clear my test inbox?
Yes, your agent can wipe the sandbox for you to keep your testing environment clean.
Can I both test and send emails with Mailtrap?
Yes. Mailtrap supports both Email Testing (capturing emails in staging) and Email Sending (transactional delivery in production).
Does Mailtrap require an Account ID?
Yes. You need both an API Key and Account ID to authenticate via Bearer token against mailtrap.io/api.
Can I analyze spam scores and HTML rendering?
Yes. Mailtrap analyzes captured emails for spam score (SpamAssassin), blacklists, HTML errors, and client support.
One connection away
Give your agent a direct line to Mailtrap.
Connect Mailtrap once. Keep it beside 5,900+ managed Connectors when the next task needs more.
Explore every Connector No credit card required · Free tier available