# Disposable email API for agents

Humanless is a disposable email API built for AI agents: an agent creates an inbox, uses the address on a signup or login form, and calls one wait that returns the verification code or magic link already parsed, so the agent never reads raw HTML email. Agents in Claude Code, Cursor, VS Code and other MCP clients use the remote MCP server at `https://api.usehumanless.com/mcp`; custom agent loops call the same REST API. Each identity also supports a TOTP channel for 2FA. It's for apps the owner owns or is authorized to test, and the agent should delete the identity when it's done.

```bash terminal
claude mcp add --transport http humanless https://api.usehumanless.com/mcp \
  --header "Authorization: Bearer $HUMANLESS_API_KEY"
# tools: create_verification_identity, wait_for_verification_code,
#        get_totp_code, delete_verification_identity, list_identities
```

## Other options

- **Mail.tm**: free throwaway inboxes over a public API; you write the tool wrapper and the code parsing yourself.
- **AgentMail and similar inbox APIs for agents**, which focus on agents that send and hold conversations by email.
- **A Gmail account the agent reads through the Gmail API**, if it needs a long-lived address.

> **Use policy:** Only for apps the owner owns or is authorized to test. Not for creating accounts in bulk, impersonation, or getting past another service's verification. See the [Terms](/terms).

More: [How to let an AI agent complete sign-up, login and 2FA on your own app](/guides/ai-agent-2fa) · [All answers](/answers/)

Last updated 2026-12-04

Canonical: https://usehumanless.com/answers/disposable-email-api-for-agents

---
More: https://usehumanless.com/llms.txt
