Mailtrap

Mailtrap MCP integration

Reads captured test messages, checks sending domain setup, reports delivery stats by date, domain, or ESP, and keeps contacts and templates current.

49actions available

Three actions you can hand over today

Every action runs live through MCP. Nothing to build, nothing to maintain.

  • Create contact

    Lyro adds a new contact to your Mailtrap account. Your team syncs customer info in real time without leaving your support conversation.

  • Get contact

    Lyro retrieves a contact's full profile using their UUID or email. Your team accesses contact history and segments instantly.

  • Update contact

    Lyro modifies an existing contact's information in Mailtrap. Your team keeps contact data fresh without returning to Mailtrap's dashboard.

See all 49 actions

How businesses use Mailtrap + Lyro

Each card is one request a support team gets, and the Mailtrap actions Lyro runs to close it.

  • Check what the application actually sent

    Lyro lists the messages captured in a Mailtrap inbox and pulls the HTML body of the one in question, so a broken template is diagnosed from the real payload rather than a description of it.

    List Messages in InboxGet Message HTML BodyGet Inbox Attributes
  • Explain why delivery looks off

    Lyro pulls sending statistics broken down by date, by domain, or by email service provider, and lists the suppressed addresses, so a drop in delivery comes back with a likely cause attached.

    Get Sending Stats by DateGet Sending Stats by ESPList Email Suppressions
  • Keep the contact record current

    Lyro creates or updates a contact, moves it onto the right list, and records a custom event against it, so a preference someone states in a conversation reaches the sending side immediately.

    Create ContactUpdate ContactCreate Contact Event
  • Set up the sending side of an account

    Lyro registers a sending domain, reads its configuration back to confirm the setup is right, and resets the SMTP credentials on an inbox when they need rotating.

    Create Sending DomainGet Sending DomainReset Inbox Credentials

How it works

Get started in 3 steps

Connect once, then just ask. There is no workflow builder to learn and nothing to maintain — Lyro reads the Mailtrap actions it has and picks the ones a request needs.

  1. 01

    Connect Mailtrap

    Authorize the Mailtrap account your team already uses — one consent screen, no API keys, no mapping tables. Lyro can only do what you granted that account, and you can disconnect it at any time.

  2. 02

    Tell your agent what you need

    Describe the job the way you would hand it to a teammate. Lyro maps it to the Mailtrap actions that close it and chains as many as the request needs.

  3. 03

    Watch it work

    The agent runs the actions inside the conversation the customer is already in, so nobody copies data between tabs and your team can take over at any point.

    Get started free
Mailtrap · Lyro

Everything else about Mailtrap

Setup, permissions, and the limits of what Lyro can do inside Mailtrap.

  • The one named in the request. List Accounts returns every Mailtrap account the connected credentials can reach and most other actions take an account ID, so an agency running several client accounts scopes each call rather than working out of one shared pool.

Every action available in Mailtrap

All 49 actions your agent can call on Mailtrap, straight from the live MCP connection.

  • Clean inbox

    Clean an inbox in Mailtrap by deleting all messages.

  • Create contact

    Create a new contact in Mailtrap.

  • Create contact event

    Create a contact event in Mailtrap.

  • Create contact export

    Create a contact export job for a Mailtrap account.

  • Create contact field

    Create a custom contact field in Mailtrap.

  • Create contact list

    Create a new contact list in Mailtrap.

  • Create email template

    Create a new email template in Mailtrap account.

  • Create sending domain

    Create a new sending domain in Mailtrap.

  • Delete contact

    Delete a contact from a Mailtrap account.

  • Delete contact field

    Delete a contact field by its ID.

  • Delete contact list

    Delete a contact list by its ID.

  • Delete email template

    Delete an email template from a Mailtrap account.

  • Delete project

    Delete a project from Mailtrap.

  • Delete sending domain

    Delete a sending domain from a Mailtrap account.

  • Get billing usage

    Retrieve current billing cycle usage for an account.

  • Get contact

    Retrieve a contact by UUID or email address from Mailtrap.

  • Get contact export

    Retrieve the status of a contact export.

  • Get contact field

    Retrieve contact field details by field ID.

  • Get contact import status

    Retrieve the status of a contact import operation.

  • Get contact list

    Retrieve a specific contact list by its ID.

  • Get email template

    Retrieve details of a specific email template by ID.

  • Get inbox attributes

    Retrieve inbox attributes from Mailtrap.

  • Get message HTML body

    Retrieve the HTML body of a message from Mailtrap.

  • Get permission resources

    Retrieve all resources in account for permission management.

  • Get project by ID

    Retrieve project details from Mailtrap by project ID.

  • Get sending domain

    Retrieve sending domain details from Mailtrap.

  • Get sending stats

    Retrieve email sending statistics from Mailtrap for a specific account.

  • Get sending stats by categories

    Retrieve email sending statistics grouped by categories.

  • Get sending stats by date

    Retrieve email sending statistics aggregated by date.

  • Get sending stats by domains

    Retrieve sending statistics grouped by domains for a Mailtrap account.

Ready to connect Mailtrap?

Authorize the account and your agent has all 49 actions from the first conversation.

Support agent working at a laptop next to the Lyro mascot