Mailtrap logo
AI agent integrationMailtrap

Mailtrap integration for multiplayer collaboration with AI agents using Claude Code or Codex

One governed connection your whole team and its AI agents can share, with approved actions and human review, so working in Mailtrap never means pasting credentials into a prompt.

Use Mailtrap from Claude Code

Bring Mailtrap context into engineering work while Type keeps app access attached to the teammate and workspace.

Automate Mailtrap with Codex

Let coding agents ask for the right app action, preserve conversation context, and keep humans in the approval loop.

Connect open agent workflows

Use Type as the collaboration layer around OpenClaw and other LLM workflows that need app access.

Developer Tools & IT

What the Mailtrap integration exposes

Email Delivery Platform for testing and sending transactional emails

One connection, many teammates

Connect Mailtrap once, then decide which teammates can use it for threads, automations, skills, and coding work.

Representative actions

  • Clean Inbox

    Tool to clean an inbox in Mailtrap by deleting all messages. Use when you need to remove all emails from an inbox while keeping the inbox itself.

  • Create Contact

    Tool to create a new contact in Mailtrap. Use when you need to add a contact with an email address to a Mailtrap account. Optionally include custom fields and assign to contact lists.

  • Create Contact Event

    Tool to create a contact event in Mailtrap. Use when you need to track custom events associated with a contact for segmentation or automation triggers.

  • Create Contact Export

    Tool to create a contact export job for a Mailtrap account. Use when you need to export contacts with filters. The export is processed asynchronously - the response includes a job ID and status. Check the status field; when it becomes 'finished', the url field will contain the download link for the exported contacts file. Filters are required - you must specify at least one filter such as subscription_status (subscribed/unsubscribed) or list_id (array of list IDs).

  • Create Contact Field

    Tool to create a custom contact field in Mailtrap. Use when you need to add new contact attributes for personalization and segmentation in email campaigns.

Connection

API and auth details

Mailtrap provides APIs for email testing, sandbox inboxes, transactional sending, SMTP/API delivery, templates, contacts, stats, and inbound email workflows. Integrations can inspect test messages, send production email, manage email assets, query delivery analytics, and authenticate with Mailtrap API tokens.

FAQ

Questions people ask before connecting Mailtrap

Can Claude Code use Mailtrap?

Yes. Type lets an AI teammate use connected Mailtrap actions from a governed workspace context, so Claude Code work can reference the app without copying credentials into a local prompt.

Can Codex work with Mailtrap through Type?

Yes. Codex can collaborate through Type with app context, skills, and approved actions. The Mailtrap catalog entry includes public integration details and example capabilities where available.

Is this the same as a Mailtrap MCP server?

Type exposes connected app capabilities to AI teammates and coding agents through Type's integration layer. Teams use it when they want shared app access, human review, and teammate-level permissions around agent work.

More developer tools & it apps for AI teammates