Skip to main content
Glama
brobin002

SandMail — Disposable Email API for AI Agents

SandMail MCP Server

Give AI agents their own disposable email inboxes with OTP extraction.

Works with Claude Code, Cursor, Windsurf, and any MCP-compatible AI tool.

Install

npm install -g sandmail-mcp

Related MCP server: useblip/email

Setup

Claude Code / Claude Desktop

Add to your MCP config (~/.claude/claude_desktop_config.json):

{
  "mcpServers": {
    "sandmail": {
      "command": "sandmail-mcp",
      "env": {
        "SANDMAIL_API_KEY": "sk_live_your_key"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "sandmail": {
      "command": "sandmail-mcp",
      "env": {
        "SANDMAIL_API_KEY": "sk_live_your_key"
      }
    }
  }
}

Available Tools

Tool

Description

create_inbox

Create a disposable email inbox

wait_for_otp

Wait for an email and extract the OTP code

get_otp

Extract OTP from the latest email

get_emails

List all emails in an inbox

wait_for_email

Wait for any new email to arrive

delete_inbox

Delete an inbox

list_inboxes

List all active inboxes

get_quota

Check API usage

Example Usage

Ask your AI agent:

"Create a temporary email, sign up for example.com, and get me the verification code"

The agent will:

  1. Call create_inbox → gets test123@tempyx.com

  2. Use the email to sign up on the website

  3. Call wait_for_otp → waits for the verification email

  4. Return the OTP code to you

Get API Key

Get your free API key at sandmail.dev

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Related MCP Servers

  • A
    license
    B
    quality
    C
    maintenance
    Disposable email MCP server for autonomous AI agents. Create labeled temporary inboxes, wait for verification emails, extract OTP codes and confirmation links — zero human intervention required.
    Last updated
    6
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    MCP server for disposable email — create inboxes, receive emails, and extract OTP codes. Let your AI agent sign up for services, wait for verification emails, and extract codes autonomously.
    Last updated
    7
    55
    1
    MIT
  • A
    license
    A
    quality
    F
    maintenance
    Enables AI agents to create temporary email addresses, receive confirmation emails, and extract verification links, automating sign-up and email verification workflows without manual intervention.
    Last updated
    6
    32
    56
    MIT

View all related MCP servers

Related MCP Connectors

  • Email for AI agents — send, receive as a webhook, manage domains, templates, routing.

  • Give an AI agent its own inbox — receive email as a webhook, send over a verified domain.

  • Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/brobin002/sandmail-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server