Install
openclaw skills install mailinatorAccess public or private Mailinator inboxes to list, retrieve, and analyze disposable emails with support for multiple formats, wildcards, and caching.
openclaw skills install mailinatorMailinator is a free, public, disposable email service. Every email address at @mailinator.com (and private custom domains) automatically exists—no signup required. Simply choose any inbox name (up to 50 characters) and receive emails instantly. Perfect for testing, automation, and workflows requiring temporary email addresses.
All emails @mailinator.com are public and free to use (with rate limits). Subscribers to the Mailinator service may provide their API token (via Auth header or token= query parameter) and access their private domains. Both Public and Private emails may be accessed via the MCP or API servers.
The MCP server can be accessed at:
https://www.mailinator.com/mcp
This server exposes two tools for active operations:
list_inboxLists all emails in a Mailinator inbox.
Parameters:
inbox_name (required): Inbox to query (max 50 chars, alphanumeric with dots)
* (all inboxes) or prefix* (pattern match) with API tokendomain (optional): "public", "private", or custom domain (auto-detected if omitted)Returns:
{
"inbox_name": "testuser",
"domain": "public",
"messages": [
{
"number": 1,
"id": "testuser-1234567890-abc",
"from": "noreply@example.com",
"subject": "Welcome!",
"time": 1770915725000,
"seconds_ago": 120
}
],
"count": 1
}
get_emailRetrieves a specific email with optional formatting.
Parameters:
message_id (required): Message ID from list_inbox resultsdomain (optional): Domain (auto-detected from cache if omitted)format (optional): Output format (default: "text")
summary: Key fields only (from, to, subject, time, ID)text: Formatted text with headers (default)textplain: Plain text body onlytexthtml: HTML body onlyfull: Complete email as JSONraw: Raw MIME contentheaders: SMTP headers as structured datasmtplog: Delivery timeline with SMTP transaction loglinks: Array of URLs found in emaillinksfull: URLs with anchor textReturns: Email content in requested format (structure varies by format)
Read-only URI-based access for passive context:
mailinator://inbox/{domain}/{inbox_name} - Inbox listingmailinator://email/{domain}/{message_id} - Email contentUse Case: AI assistants can reference these URIs as context without explicit tool calls.
Mailinator inboxes and emails may be accessed via the api. Again, public inboxes and emails do not require an API key, private inboxes/email do.
Fetching an inbox: GET https://api.mailinator.com/api/v3/domains/<domain>/inboxes/<inboxname>
where <domain> may be public, private, or a custom subscriber domain <inboxname> must be alphanumeric from 1-50 characters, it may also be blank or contain wildcards for private domains
Fetching an email: GET https://api.mailinator.com/api/v3/domains/<domain>/messages/<message-id>/<format>
<message-id> - this can be a valid message id found in a previous inbox listing <format> can be "text" - (default) a best guess of the text within a email "textplain" - the exact text/plain part of the email, if present "texthtml" - the exact text/html part of the email, if present "smtplog" - the log of the smtp transaction "attachments" - (private domains only) "headers" - the smtp headers of the email "full" - the full json representation of the email (this can be large) "links" - just the parsed links from the email "raw" - the raw email data (this could be large)
Claude Desktop Integration:
Add to claude_desktop_config.json:
{
"mcpServers": {
"mailinator": {
"command": "node",
"args": ["/path/to/mailinator-cli/bin/index.js", "--start-mcp-server"],
"env": {
"MAILINATOR_API_KEY": "your_token_here"
}
}
}
}
Or connect to a running server:
{
"mcpServers": {
"mailinator": {
"url": "http://127.0.0.1:8080/mcp"
}
}
}
Health Check Endpoint: GET http://127.0.0.1:8080/health
# Global installation
npm install -g mailinator-cli
# Or use with npx (no install)
npx mailinator-cli inbox test public
List Inbox:
# Public domain (no authentication)
mailinator-cli inbox testuser public
# Private domain (requires API token)
mailinator-cli inbox myinbox private
# Wildcard search (requires API token)
mailinator-cli inbox test* private
Retrieve Email:
# By reference number (from inbox listing)
mailinator-cli email 1
# With specific format
mailinator-cli email 1 summary
mailinator-cli email 1 links
mailinator-cli email 2 smtplog
# By message ID directly
mailinator-cli email testuser-1234567890-abc text
Verbose Mode:
# Show HTTP requests/responses
mailinator-cli --verbose inbox testuser public
mailinator-cli -v email 1 full
Public domain (@mailinator.com) requires no authentication. For private/custom domains and advanced features (wildcards, SMTP logs), configure an API token:
Get Token: https://www.mailinator.com/v4/private/team_settings.jsp
Configuration Options:
Environment Variable (highest priority):
export MAILINATOR_API_KEY=your_token_here
Config File (~/.config/mailinator/config.json):
{
"apiKey": "your_token_here"
}
Environment File (.env):
MAILINATOR_API_KEY=your_token_here
When configured as an MCP server in Claude Desktop:
* or prefix*, only in private domains, requires API tokenThe tool provides clear error messages with exit codes:
~/.config/mailinator/inbox-cache.jsonUses Mailinator CLI API v3:
https://api.mailinator.com/cli/v3GET /domains/{domain}/inboxes/{inbox_name}GET /domains/{domain}/messages/{message_id}?format={format}GET /domains/{domain}/messages/{message_id}/smtplogemail, testing, disposable-email, automation, cli, mcp, model-context-protocol, ai-integration, workflow, verification, smtp, debugging, mailinator, nodejs