Mailtrap Email API Logo

Mailtrap Email API

Official

Enables sending transactional emails through the Mailtrap Email API.

32 views
0 installs
Updated Oct 17, 2025
Not audited
Enables sending transactional emails through the Mailtrap Email API.
  1. Create a Mailtrap Account

  2. Verify Your Domain

  3. Obtain Your API Token

    • Log in to your Mailtrap account.
    • Navigate to Mailtrap API settings.
    • Click to create a new API token if you don’t already have one.
    • Copy the API token value.
  4. Get Your Account ID

  5. (Optional) Get Your Test Inbox ID (only required for sandbox/testing email functionality)

    • In Mailtrap, go to your inbox dashboard.
    • Select the test inbox you want to use.
    • Copy the Inbox ID from the URL or the inbox details page.
  6. Determine the “From” Email Address

    • Use any verified email address from your sending domain as the value for DEFAULT_FROM_EMAIL.
  7. Fill in the FastMCP Connection Interface

    • Click the “Install Now” button for the Mailtrap MCP server in your FastMCP interface.
    • In the connection setup form, fill in the following environment variables:
      • MAILTRAP_API_TOKEN: Paste your Mailtrap API token.
      • DEFAULT_FROM_EMAIL: Enter your verified sender email address.
      • MAILTRAP_ACCOUNT_ID: Paste your Mailtrap Account ID.
      • MAILTRAP_TEST_INBOX_ID: (Optional, for sandbox email functionality) Paste your Test Inbox ID.
  8. Save and Connect

    • Save the configuration and confirm the new connection in the FastMCP interface. If the server requires a restart, follow any prompts to do so.

Note: The MAILTRAP_TEST_INBOX_ID is only required if you want to use sandbox email features; for regular sending and template management, this field can be left blank.

Quick Start

More for Communication

View All →

Similar MCP Servers

Mailtrap Email API

Mailtrap Email API

Official

Enables sending transactional emails through the Mailtrap Email API.

Communication
155
0

Report Issue

Thank you! Your issue report has been submitted successfully.