get_email_log
Get Email Log
Get detailed information about a specific sent email by its message ID. Returns full delivery details including status, events (delivery, open, click, bounce, spam, etc.), and a temporary URL to download the raw message.
Ask your agent in plain language. Each of these maps to a real tool on the server.
get_email_log
Get detailed information about a specific sent email by its message ID. Returns full delivery details including status, events (delivery, open, click, bounce, spam, etc.), and a temporary URL to download the raw message.
list_sandbox_inboxes
Discover accessible sandbox inbox IDs, names, project memberships, and message counts. Pass an inbox ID to list_sandbox_messages or get_sandbox_message.
list_sandbox_projects
List all sandbox projects and their inboxes. Projects contain sandbox inboxes where test emails are captured. Use this to discover inbox IDs needed for other sandbox operations.
list_sandbox_messages
List emails captured in a Mailtrap sandbox inbox. Use this to inspect test emails during development without sending to real recipients. Supports search and pagination.
list_email_logs
Search and retrieve individual email delivery logs. Each log entry includes message status, subject, sender/recipient, sending stream, category, open/click counts, and related events. Supports filtering by date range, recipient, sender, subject, status, stream, and category.
manage_contact
Create, retrieve, update, or delete a contact in your Mailtrap account. Contacts can be assigned to lists and have custom fields (e.g., name, location, date of birth) for personalized campaigns.
list_accounts
List all Mailtrap accounts accessible with the current API token. Returns account IDs, names, and access levels. Useful for discovering account IDs needed by other tools.
manage_sending_domain
List, create, retrieve, or delete sending domains. Domains must be verified via DNS before you can send emails. Each domain requires a compliance check after DNS verification.
manage_suppressions
List or remove email suppression entries. Suppressions are created automatically when hard bounces, unsubscribes, or spam complaints occur. Suppressed addresses cannot receive emails. Removing a suppression reactivates the address for sending.
manage_contact_list
Create, list, update, or delete contact lists. Contact lists organize contacts into targeted groups for sending campaigns. Use this to manage your email list segmentation.
send_transactional_email
Send a transactional email triggered by user actions such as password resets, welcome emails, or order confirmations. Supports plain text, HTML content, or pre-built templates with variable substitution. Emails can include attachments, custom headers, categories for analytics, and custom variables for tracking.
send_bulk_email
Send a bulk/promotional email using Mailtrap's dedicated bulk infrastructure. Designed for marketing campaigns, newsletters, and non-transactional emails. Sending through the bulk stream protects your transactional email reputation. Mailtrap automatically adds unsubscribe headers.
list_contacts
Search contacts by email substring, subscription status, or contact list. Returns contact IDs, fields, membership, and a cursor for the next page.
get_sandbox_message
Retrieve detailed information about a specific email in a sandbox inbox, including its HTML/text body, spam report, HTML analysis, and attachments. Can also mark messages as read, delete them, or forward them to a real email address.
get_email_stats
Retrieve delivery statistics for your sent emails over a date range. Includes metrics like delivery count/rate, open count/rate, click count/rate, bounce count/rate, and spam complaint count/rate. Can optionally group results by date, domain, category, or email service provider.
Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.
{"mcpServers": {"metorial": {"url": "<your-magic-mcp-url>"}}}
claude mcp add --transport http metorial <your-magic-mcp-url>
codex mcp add metorial --url <your-magic-mcp-url>codex mcp login metorial
One governed layer for every app your agents reach, not a separate connector per tool.
Send transactional and bulk emails, manage email templates, and test emails in a sandbox environment. Create and organize contact lists, build dynamic segments, and manage suppressions. Track delivery statistics including open rates, click rates, bounces, and spam complaints. Manage sending domains, email logs, webhooks for real-time event notifications, and account access permissions.
Common questions about connecting Mailtrap to AI agents with Metorial.