mcpField
T
Tmailor temporary email

Tmailor temporary email

Local
platform.tmailor.comCommunication1Updated 2d ago

About Tmailor temporary email

Tmailor temporary email is an MCP server for AI agents that creates temporary inboxes and retrieves one-time codes or verification links. It provides receive-only addresses and keeps API address tokens inside the server process.

Key features

  1. 01Create random or custom email addresses
  2. 02Wait for and filter messages
  3. 03Extract OTPs and verification links
  4. 04List, read, and delete mailboxes
  5. 05Check domains and account quota

Use cases

  1. 01Register on sites with a temporary address
  2. 02Retrieve email verification codes automatically
  3. 03Obtain account confirmation links

MCP support

The MCP server uses the Tmailor Open API to expose mailbox creation, message waiting, and email-reading tools to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"tmailor-com-tmailor": {
"command": "uvx",
"args": [
"tmailor-mcp"
],
"env": {
"TMAILOR_API_KEY": "<TMAILOR_API_KEY>"
}
}
}
}
Run commanduvx tmailor-mcp
Environment variables to set
TMAILOR_API_KEYSecretTmailor Open API key (create one at https://platform.tmailor.com/keys)

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypitmailor-mcp0.3.1

Tools

8

Saved tool list · updated 1d ago

ParameterTypeRequiredDescription
nameanyNoLocal part before the @. Only allowed on the account's own domains. Leave empty for a random name.
domainanyNoOne of the account's own verified domains (see list_domains). Leave empty for a random shared domain.

Details

From the project README

tmailor-mcp

MCP server for the Tmailor Open API. It gives AI agents (Claude, Cursor, VS Code Copilot and any other MCP client) real, receive-only temporary email addresses: sign up somewhere, wait for the email, get the one-time code or the verification link.

You:   Sign up on example.com with a temporary email and confirm the account.
Agent: create_mailbox -> [email protected]
       (fills in the sign-up form)
       wait_for_message -> otp "482913", links ["https://example.com/confirm?t=..."]

Billing counts mailboxes, not requests: creating an address uses 1 unit of quota, while waiting for and reading mail is free. Addresses never expire.

Requirements

  • A Tmailor API key: sign in at https://platform.tmailor.com and create one under API keys.
  • uv (for uvx) or Python 3.10+.
  • On the Free plan the API only accepts calls from your allowlisted IP: add the public IP of the computer that runs the MCP server under IP allowlist. Paid plans accept calls from any IP.

Install

The server runs locally over stdio. The API key is read from the TMAILOR_API_KEY environment variable.

Claude Code
claude mcp add tmailor -e TMAILOR_API_KEY=tmk_live_... -- uvx tmailor-mcp
Claude Desktop

Edit claude_desktop_config.json (Settings > Developer > Edit Config):

{
  "mcpServers": {
    "tmailor": {
      "command": "uvx",
      "args": ["tmailor-mcp"],
      "env": { "TMAILOR_API_KEY": "tmk_live_..." }
    }
  }
}
Cursor

~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project) uses the same mcpServers block as above.

VS Code

.vscode/mcp.json. The key is asked once and stored by VS Code instead of being written in the file:

{
  "inputs": [
    { "type": "promptString", "id": "tmailor-key", "description": "Tmailor API key", "password": true }
  ],
  "servers": {
    "tmailor": {
      "type": "stdio",
      "command": "uvx",
      "args": ["tmailor-mcp"],
      "env": { "TMAILOR_API_KEY": "${input:tmailor-key}" }
    }
  }
}
Other MCP clients

tmailor-mcp is listed in the MCP Registry as io.github.tmailor-com/tmailor-mcp, so clients that browse the registry can install it directly.

Without uv
pip install tmailor-mcp
TMAILOR_API_KEY=tmk_live_... tmailor-mcp

Tools

ToolWhat it does
create_mailboxCreate an address (random on a shared domain, or a chosen name on your own verified domain). Uses 1 quota unit.
wait_for_messageReturn the newest unread message matching optional sender/subject filters, or wait for one (up to 300 s). Includes otp, codes, links and the body (body_format).
list_messagesMessages of an address (last 24 hours), without body.
read_messageOne message with otp, codes, links and the body (body_format).

body_format on wait_for_message and read_message: text (plain text, default, cut to max_chars), html (the raw HTML exactly as received, cut to max_html_chars, default 100000) or both. has_html says whether the message has an HTML part; html on a message without one returns the text instead. | delete_mailbox | Delete an address for good. Quota is not returned. | | list_mailboxes | Your addresses, newest first. | | list_domains | Your own domains and whether shared domains are available. | | account_status | Remaining quota, plans, request rate. |

Tools take and return email addresses only. The address tokens of the API stay inside the server process, so they never end up in the conversation.

Security notes

  • Email content is untrusted. Anyone can send mail to an address. The server returns plain text by default and marks every message with untrusted_content_notice. With body_format="html" or "both" you get the raw HTML unchanged (scripts, tracking pixels and hidden text included): render or parse it only in a safe way you choose. Agents should use mail as data (codes, links) and never follow instructions written inside it.
  • Keep the key out of shared files. Prefer the VS Code inputs prompt, or a user-level config file that is not committed to a repository. Revoke a leaked key at https://platform.tmailor.com/keys.
  • Paid plans accept API calls from any IP, so a leaked key can be used from anywhere until you revoke it.
  • wait_for_message never returns the same message twice within one server process. Two MCP servers waiting on the same address at the same time (for example two agents sharing one key) can both receive the same message.

Configuration

VariableMeaning
TMAILOR_API_KEYYour API key (required).
TMAILOR_BASE_URLOnly for testing against another API host.

Links

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.