Skip to main content
Glama
SandMail — Disposable Email API for AI Agents

SandMail — Disposable Email API for AI Agents

by brobin002

SandMail MCP 서버

AI 에이전트에게 OTP 추출 기능이 포함된 일회용 이메일 수신함을 제공하세요.

Claude Code, Cursor, Windsurf 및 모든 MCP 호환 AI 도구와 함께 작동합니다.

설치

npm install -g sandmail-mcp

Related MCP server: TempMail OTP MCP Server

설정

Claude Code / Claude Desktop

MCP 설정(~/.claude/claude_desktop_config.json)에 추가하세요:

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

Cursor

.cursor/mcp.json에 추가하세요:

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

사용 가능한 도구

도구

설명

create_inbox

일회용 이메일 수신함 생성

wait_for_otp

이메일을 기다리고 OTP 코드 추출

get_otp

최신 이메일에서 OTP 추출

get_emails

수신함의 모든 이메일 목록 조회

wait_for_email

새 이메일 도착 대기

delete_inbox

수신함 삭제

list_inboxes

활성 수신함 목록 조회

get_quota

API 사용량 확인

사용 예시

AI 에이전트에게 다음과 같이 요청하세요:

"임시 이메일을 만들어서 example.com에 가입하고 인증 코드를 알려줘"

에이전트는 다음을 수행합니다:

  1. create_inbox 호출 → test123@tempyx.com 획득

  2. 해당 이메일을 사용하여 웹사이트에 가입

  3. wait_for_otp 호출 → 인증 이메일 대기

  4. OTP 코드를 사용자에게 반환

API 키 발급

sandmail.dev에서 무료 API 키를 받으세요.

Available Tools

8 tools
create_inboxA

Create a temporary disposable email inbox. Returns an email address that can receive emails. Use this when you need to sign up for a service, verify an account, or receive a one-time code.

Inputs: domain, custom_local, ttl_hours.

delete_inboxB

Delete a temporary email inbox and all its emails.

Inputs: email (required).

get_emailsC

List all emails received in an inbox, sorted by date (newest first).

Inputs: email (required).

get_otpA

Extract OTP/verification code from the latest email in an inbox. Use this when an email has already arrived and you need to extract the code.

Inputs: email (required), include_body.

get_quotaB

Check your API usage and remaining monthly quota.

Inputs: no named parameters.

list_inboxesB

List all your active temporary email inboxes.

Inputs: no named parameters.

wait_for_emailA

Wait for a new email to arrive in an inbox. Blocks until an email arrives or timeout is reached.

Inputs: email (required), timeout.

wait_for_otpA

Wait for an email to arrive and automatically extract the OTP/verification code. Blocks until an email with a code arrives or timeout is reached. This is the most useful tool for account verification flows.

Inputs: email (required), timeout.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 8 tools

    Disambiguation5/5

    Every tool has a clearly distinct purpose with no overlap. For example, create_inbox and delete_inbox handle inbox lifecycle, get_emails and get_otp focus on email retrieval vs. code extraction, and wait_for_email vs. wait_for_otp differentiate between general waiting and OTP-specific waiting. The descriptions reinforce these distinctions.

    Naming Consistency5/5

    All tools follow a consistent verb_noun naming pattern (e.g., create_inbox, delete_inbox, get_emails). There are no deviations in style or convention, making the set predictable and easy to understand at a glance.

    Tool Count5/5

    With 8 tools, this server is well-scoped for its disposable email API purpose. Each tool earns its place by covering distinct aspects like inbox management, email retrieval, OTP handling, and quota checking, without being overly sparse or bloated.

    Completeness5/5

    The tool surface provides complete coverage for the disposable email domain. It includes CRUD operations for inboxes (create, list, delete), email retrieval (get_emails, wait_for_email), OTP-specific utilities (get_otp, wait_for_otp), and quota management (get_quota), with no obvious gaps for typical agent workflows.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to create disposable email inboxes and automatically extract OTPs, magic links, and verification codes from incoming emails.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Provides disposable email inboxes for AI agents to automatically receive and extract OTPs and magic links, enabling seamless email verification during autonomous workflows.
      3
      543 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Programmable email infrastructure for AI agents. Provision dedicated forwarding addresses, extract OTP verification codes, and configure real-time HMAC-signed webhooks across Claude, Cursor, and ChatGPT.
      40 npm
      MIT