Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Get Email Template
MAILTRAP_GET_EMAIL_TEMPLATETool to retrieve details of a specific email template by ID. Use when you need to fetch template content, metadata, or configuration for an existing email template.
Get Inbox Attributes
MAILTRAP_GET_INBOXTool to retrieve inbox attributes from Mailtrap. Use when you need to get details about a specific inbox including its configuration, statistics, and permissions.
Get Message HTML Body
MAILTRAP_GET_MESSAGE_HTMLTool to retrieve the HTML body of a message from Mailtrap. Use when you need to get the formatted HTML content of a specific email message.
Get Permission Resources
MAILTRAP_GET_PERMISSION_RESOURCESTool to retrieve all resources in account for permission management. Use when you need to see the hierarchical structure of projects, inboxes, and other resources with their access levels for the current authentication token.
Get Project by ID
MAILTRAP_GET_PROJECTTool to retrieve project details from Mailtrap by project ID. Use when you need to get information about a specific project including its inboxes, permissions, and share links.
Get Sending Domain
MAILTRAP_GET_SENDING_DOMAINTool to retrieve sending domain details from Mailtrap. Use when you need to check domain configuration, DNS verification status, or tracking settings.
Get Sending Stats
MAILTRAP_GET_SENDING_STATSTool to retrieve email sending statistics from Mailtrap for a specific account. Use when you need metrics like delivery rate, bounce rate, open rate, click rate, and spam rate for a date range.
Get Sending Stats by Categories
MAILTRAP_GET_SENDING_STATS_BY_CATEGORIESTool to retrieve email sending statistics grouped by categories. Use when you need to analyze email performance metrics (delivery, bounce, open, click, spam rates) segmented by email categories within a date range.
Get Sending Stats by Date
MAILTRAP_GET_SENDING_STATS_BY_DATETool to retrieve email sending statistics aggregated by date. Use when you need to analyze email delivery performance, bounce rates, open rates, click rates, and spam rates for a specific date range.
Get Sending Stats by Domains
MAILTRAP_GET_SENDING_STATS_BY_DOMAINSTool to retrieve sending statistics grouped by domains for a Mailtrap account. Use when you need email delivery, bounce, open, click, and spam metrics broken down by sending domain for a specific date range. Supports filtering by domain IDs, sending streams, categories, and email service providers.
Get Sending Stats by ESP
MAILTRAP_GET_SENDING_STATS_BY_ESPTool to retrieve email sending statistics grouped by email service providers (ESPs) for a specified date range. Returns delivery, bounce, open, click, and spam metrics for each ESP. Use when you need to analyze email performance across different email providers like Google, Yahoo, Microsoft, etc.
Import Contacts
MAILTRAP_IMPORT_CONTACTSTool to import contacts in bulk to Mailtrap. Use when you need to add or update multiple contacts at once. The import operation is asynchronous and returns a job ID that can be used to check the status later.
List Accounts
MAILTRAP_LIST_ACCOUNTSTool to list all Mailtrap accounts you have access to. Use when you need to retrieve account information or get account IDs for other operations. Returns account ID, name, and access levels (1000=owner, 100=admin, 10=viewer).
List Contact Fields
MAILTRAP_LIST_CONTACT_FIELDSTool to get all contact fields for a Mailtrap account. Use when you need to retrieve custom field definitions for contacts.
List Contact Lists
MAILTRAP_LIST_CONTACT_LISTSTool to retrieve all contact lists for a Mailtrap account. Use when you need to view available contact lists or obtain contact list IDs for other operations.
List Email Templates
MAILTRAP_LIST_EMAIL_TEMPLATESTool to retrieve all email templates for a Mailtrap account. Use when you need to list available templates, browse template configurations, or find a specific template by name or attributes.
List Inboxes
MAILTRAP_LIST_INBOXESTool to get a list of inboxes for a Mailtrap account. Use when you need to retrieve all inboxes associated with an account ID. Returns the list of inboxes with their configuration, permissions, and statistics.
List Messages in Inbox
MAILTRAP_LIST_MESSAGESTool to get messages from a Mailtrap inbox. Use when you need to retrieve emails from a specific inbox, with support for search filtering and pagination. Returns up to 30 messages per request.
List Projects
MAILTRAP_LIST_PROJECTSTool to get a list of projects for a Mailtrap account. Use when you need to retrieve all projects and their associated inboxes for a specific account. Returns project attributes, permissions, and nested inbox information.
List Sending Domains
MAILTRAP_LIST_SENDING_DOMAINSTool to list all sending domains for a Mailtrap account. Use when you need to retrieve configured domains for email sending.