HughMail Docs

HughMail offers a simple REST API and an MCP server. Start with the Transactional API to send OTPs, magic links, and notifications; use the MCP tools to let your AI agents act safely with confirmation.

Transactional API

Endpoint: POST /api/v1/emails

{
  "from": "App <noreply@auth.example.com>",
  "to": ["user@example.com"],
  "subject": "Welcome!",
  "text": "Thanks for trying HughMail"
}

MCP server

Mount the MCP endpoint at /mcp. Tools mirror the REST actions — for example, emails.send.