---
title: "Mailtrap integration for LuumenAI"
url: "https://www.luumen.ai/integrations/mailtrap/"
entity: SoftwareIntegration
category: "Source control & CI/CD"
audience: "SRE, DevOps, platform engineering, IT operations"
---

# Mailtrap integration for LuumenAI

Inspect Mailtrap inboxes, templates, and contacts, then change them with approval

## What LuumenAI can do with Mailtrap

LuumenAI connects to Mailtrap with an API token and exposes 49 tools (27 read-only · 15 write · 7 destructive). Reads answer immediately; writes are shown as a plan and require approval by default, configurable per tool by an administrator.

## Key facts

- Authentication: API token
- Tools available: 49 tools (27 read-only · 15 write · 7 destructive)
- Plan: available on all plans
- Category: Source control & CI/CD

## About Mailtrap with LuumenAI

Connect Mailtrap and your team can check what a test inbox actually received, read the HTML body of a message, look up a contact, or pull billing usage for the current cycle — without leaving the terminal. Changes like creating a template, importing contacts, or clearing an inbox are previewed first and sent for approval before they run.

## Example tools

Read-only (27 in total):

- `MAILTRAP_CREATE_CONTACT_EXPORT` — Create a contact export job for a Mailtrap account.
- `MAILTRAP_GET_BILLING_USAGE` — Retrieve current billing cycle usage for an account.
- `MAILTRAP_GET_CONTACT` — Retrieve a contact by UUID or email address from Mailtrap.
- `MAILTRAP_GET_CONTACT_EXPORT` — Retrieve the status of a contact export.
- `MAILTRAP_GET_CONTACT_FIELD` — Retrieve contact field details by field ID.
- `MAILTRAP_GET_CONTACT_IMPORT` — Retrieve the status of a contact import operation.
- `MAILTRAP_GET_CONTACT_LIST` — Retrieve a specific contact list by its ID.
- `MAILTRAP_GET_EMAIL_TEMPLATE` — Retrieve details of a specific email template by ID.

Write and destructive (22 in total, approval required by default):

- `MAILTRAP_CLEAN_INBOX` — Clean an inbox in Mailtrap by deleting all messages.
- `MAILTRAP_CREATE_CONTACT` — Create a new contact in Mailtrap.
- `MAILTRAP_CREATE_CONTACT_EVENT` — Create a contact event in Mailtrap.
- `MAILTRAP_CREATE_CONTACT_FIELD` — Create a custom contact field in Mailtrap.
- `MAILTRAP_CREATE_CONTACT_LIST` — Create a new contact list in Mailtrap.
- `MAILTRAP_CREATE_EMAIL_TEMPLATE` — Create a new email template in Mailtrap account.
- `MAILTRAP_CREATE_SENDING_DOMAIN` — Create a new sending domain in Mailtrap.
- `MAILTRAP_DELETE_CONTACT` — Delete a contact from a Mailtrap account.

## Frequently asked questions

### How does LuumenAI connect to Mailtrap?

Authorize once with API token. Luumen lists the scopes each action needs before you approve the connection, and credentials never appear in the chat.

### Can LuumenAI change things in Mailtrap on its own?

Read actions answer immediately. Anything that writes is shown as a plan and requires approval by default, including the 7 actions classified as destructive. Administrators configure that per tool.

### Is there an audit trail?

Every call to Mailtrap — read or write, approved or declined — is recorded with the actor, the input, and the result.

Full page: https://www.luumen.ai/integrations/mailtrap/
