Developer Tools

Mailtrap

Email Delivery Platform for testing and sending transactional emails

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • 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

    Create a contact in a Mailtrap account with an email address, optional first and last name fields, and optional contact list assignments.

  • 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

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

    Delete a contact list by ID from a Mailtrap account. A 404 response is reported as success, so success does not confirm that a list was deleted.

  • Delete Email Template

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

  • Delete Project

    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.

  • 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

    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 Contact Export

    Retrieve the status of a contact export and its download URL when available.

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

Page 1 / 3Next