developer tools

Add Mailtrap to your AI agent

Email Delivery Platform for testing and sending transactional emails

Things your agent can do in Mailtrap
49

Things your AI can do in Mailtrap

Your FormWise AI can handle any of these in Mailtrap — on its own, without you needing to click a button.

  • Clean Inbox

    Popular

    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.

  • Delete Contact

    Popular

    Tool to delete a contact from a Mailtrap account. Use when you need to permanently remove a contact by their UUID or email address. The deletion is permanent and cannot be undone.

  • Delete Project

    Popular

    Tool to delete a project from Mailtrap. Use when you need to permanently remove a project and its associated resources. Returns the ID of the deleted project.

  • Get Contact

    Popular

    Tool to retrieve a contact by UUID or email address from Mailtrap. Use when you need to fetch details of a specific contact including their subscription status, lists, and custom fields.

  • Get Permission Resources

    Popular

    Tool 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 Sending Stats

    Popular

    Tool 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 Date

    Popular

    Tool 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.

  • List Accounts

    Popular

    Tool 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 Lists

    Popular

    Tool 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 Inboxes

    Popular

    Tool 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

    Popular

    Tool 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

    Popular

    Tool 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.

Show 37 more things it can do
  • List Sending Domains

    Popular

    Tool to list all sending domains for a Mailtrap account. Use when you need to retrieve configured domains for email sending.

  • Reset Inbox Credentials

    Popular

    Tool to reset SMTP credentials for a Mailtrap inbox. Use when you need to regenerate the username and password for inbox access.

  • Update contact

    Popular

    Tool to update an existing contact in Mailtrap. Use when you need to modify contact details such as email, custom fields, list memberships, or subscription status. If the contact doesn't exist, it will be created.

  • Update inbox

    Popular

    Tool to update an inbox's settings in Mailtrap. Use when you need to change the inbox name or email username.

  • Update project

    Popular

    Tool to update a project's name in Mailtrap. Use when you need to rename an existing project.

  • 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.

  • Create Contact List

    Tool to create a new contact list in Mailtrap. Use when you need to organize contacts into groups or segments. Each contact list has a unique ID and name that can be used to add contacts to it later.

  • Create Email Template

    Tool to create a new email template in Mailtrap account. Use when you need to create a reusable email template with HTML/text content, subject, and category. The template can be used for sending promotional, transactional, or newsletter emails.

  • Create Sending Domain

    Tool to create a new sending domain in Mailtrap. Use when you need to register a domain for sending transactional emails. After creation, DNS records must be configured before the domain can be used for sending.

  • Delete Contact Field

    Tool to delete a contact field by its ID. Use when you need to remove a custom contact field from an account.

  • Delete Contact List

    Tool to delete a contact list by its ID. Use when you need to remove a contact list from an account.

  • Delete Email Template

    Tool to delete an email template from a Mailtrap account. Use when you need to remove an existing email template.

  • Delete Sending Domain

    Tool to delete a sending domain from a Mailtrap account. Use when you need to remove a domain permanently.

  • Get Billing Usage

    Tool to retrieve current billing cycle usage for an account. Use when you need to check billing information, usage limits, or consumption for Email Sandbox and Email Sending services.

  • Get Contact Export

    Tool to retrieve the status of a contact export. Use when you need to check the progress of an export or download the exported contacts file.

  • Get Contact Field

    Tool to retrieve contact field details by field ID. Use when you need to get information about a specific custom field in your contacts.

  • Get Contact Import Status

    Tool to retrieve the status of a contact import operation. Use when you need to check the progress or completion status of a contact import. Use after initiating a contact import to monitor its status and retrieve statistics once finished.

  • Get Contact List

    Tool to retrieve a specific contact list by its ID. Use when you need to fetch details about a contact list in a Mailtrap account.

  • Get Email Template

    Tool 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

    Tool 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

    Tool 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 Project by ID

    Tool 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

    Tool to retrieve sending domain details from Mailtrap. Use when you need to check domain configuration, DNS verification status, or tracking settings.

  • Get Sending Stats by Categories

    Tool 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 Domains

    Tool 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

    Tool 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

    Tool 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 Contact Fields

    Tool to get all contact fields for a Mailtrap account. Use when you need to retrieve custom field definitions for contacts.

  • List Email Templates

    Tool 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 Email Suppressions

    Tool to list suppressed email addresses for a Mailtrap account. Use when you need to view which emails are blocked from receiving messages due to bounces, complaints, unsubscribes, or manual suppression.

  • Mark Inbox as Read

    Tool to mark all messages in a Mailtrap inbox as read. Use when you need to mark all unread messages as read in a specific inbox.

  • Update Contact Field

    Tool to update a contact field in Mailtrap. Use when you need to modify the name or merge tag of an existing contact field.

  • Update Contact List

    Tool to update a contact list's name in Mailtrap. Use when you need to rename an existing contact list.

  • Update Email Template

    Tool to update an existing email template in Mailtrap account. Use when you need to modify template properties such as name, subject, category, HTML body, or plain text body. All fields in the email_template object are optional - only provide the fields you want to update.

Built for the way you actually work

No code, no engineers

Connect in a few clicks and start using your AI right away. If you can use the apps you already love, you can do this.

Sounds like you, not like a bot

Train your AI on your offer, your voice, and the way you actually talk to clients — it picks up where you leave off.

Plugs into the stack you already use

No need to rip out your CRM, your scheduler, or your email tool. Your AI works inside the apps running your business today.

Your data stays yours

Client conversations, lists, and credentials are scoped to your workspace. Nothing gets shared, sold, or used to train anyone else’s AI.

What you can do once Mailtrap is connected

Onboard new clients without lifting a finger

When someone signs up, your AI greets them, sets up their next step in Mailtrap, and keeps the momentum going — even at 2am.

Reply to leads in seconds, not days

Your AI watches Mailtrap for new inquiries, answers questions in your voice, and books the call before they cool off.

Get your weekends back

Hand off the repetitive Mailtrap work — follow-ups, reminders, updates, simple admin — and stop being the bottleneck in your own business.

How to connect Mailtrap to your agent

  1. 1

    Start using FormWise for free

    Sign up in under a minute.

  2. 2

    Find Mailtrap in your connected apps

    Inside FormWise, go to Settings → Connected Services and look for Mailtrap.

  3. 3

    Hit "Connect"

    Click "Connect Mailtrap" and log in like you normally would. We only ask for the permissions your AI actually needs.

  4. 4

    Tell your AI what to do in Mailtrap

    Build a quick AI Agent (it's like writing instructions, not code), and pick the Mailtrap actions you want your AI to handle.

  5. 5

    Watch it run

    Send it a real-world task and watch your AI take care of Mailtrap for you. Tweak the wording until it feels just right.

Powered by the AI you already trust

Your Mailtrap workflow runs on the same world-class AI used by ChatGPT, Claude, and Gemini. We handle the technical part — you just tell your AI what to do, in plain English.

  • OpenAI
  • Anthropic Claude
  • Google Gemini

Questions other Mailtrap users had before signing up

Do I need to know how to code?

Not even a little. If you can use Mailtrap today, you can set this up. You'll connect Mailtrap, tell your AI what it should help with, and you're live. The whole thing is built for coaches, course creators, agencies, and operators — not engineers.

Will my clients know they're talking to an AI?

Only if you want them to. Your FormWise AI is trained on your voice, your offer, and the way you actually communicate — so it sounds like a thoughtful team member, not a clunky chatbot. Most people can't tell.

Can I make it sound like me?

Yes. You can give your AI examples of how you write, the questions you usually ask new clients, the way you handle objections, and the language you use about your offer. The more you give it, the more it sounds like you wrote it.

What if I want to take over a conversation?

You're always in control. You can step in at any point, take over from your AI, or stop it from sending messages until you've reviewed them. Think of it as a teammate, not a replacement.

Is my client data safe?

Yes. Your Mailtrap login and client information stay scoped to your workspace. We don't sell it, we don't share it, and we don't use your data to train anyone else's AI. You can disconnect Mailtrap or delete everything any time.

What happens when Mailtrap updates their app?

We handle it. When Mailtrap adds new features or changes how something works, we update the integration in the background. You don't have to do anything — your AI just keeps working.

How fast can I actually get this running?

Most people are up and running the same day they sign up. Connecting Mailtrap takes a few minutes. Teaching your AI to handle the work the way you'd want it done is the part worth slowing down for.

What is FormWise?

FormWise is the AI agent builder for coaches, course creators, and agencies. You connect the apps you already use — like Mailtrap — train your AI on your offer and voice, and let it handle the work you've been doing manually: onboarding, follow-ups, support, admin. No code, no developers, no engineering team required.

Can I sell AI agents to my clients?

Yes. A lot of FormWise users build AI assistants and sell them as part of their offer — done-for-you AI setups, white-label assistants for client businesses, custom GPTs trained on a client's brand. You can charge a setup fee, a monthly retainer, or both.

Can I embed my AI on my website or in my course?

Yes. Every AI you build in FormWise can be embedded on your site, dropped into your course platform, or shared as a standalone link. Your clients and students just open it like any other web page — no app to download, no login hoops.

Do I need to know anything about AI to use this?

No. If you can describe what you want your AI to do in plain English — "greet new clients, ask these 3 questions, book them a call" — FormWise can build it. We handle the models, the prompts, the connections. You handle the part you already know: what your business actually needs.

About Mailtrap on FormWise

Email Delivery Platform for testing and sending transactional emails

Connect Mailtrap once and your FormWise AI gets 49 things it can do inside it. That means your AI can handle the Mailtrap work in your business — the messages, the updates, the follow-ups, the admin — the way you would, just faster and around the clock.

You don't need to know how any of it works under the hood. We take care of keeping the connection alive, retrying if something fails, and making sure your data only ever moves where you tell it to.

New to Mailtrap? Take a look at mailtrap.io.

Stop doing the Mailtrap work yourself

Hand it off to an AI assistant that sounds like you, works around the clock, and never forgets a follow-up. Free to start.