API

Manage your API keys and send transactional email.

API keys

No API keys yet. Create one to send from your app or connect an agent.

Send an email

POST to https://mailyond.com/api/external/emails with your key as a Bearer token.

Already using a Resend SDK? Point it at Mailyond by setting the base URL to https://mailyond.com/api/external and your myond_… key as the API key. No rewrite needed.

curl -X POST 'https://mailyond.com/api/external/emails' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "from": "support@yourdomain.com",
    "to": "user@example.com",
    "subject": "Hello",
    "html": "<h1>Hi</h1>"
  }'

Connect an AI agent (MCP)

Mailyond runs an MCP server at https://mailyond.com/mcp. Point your agent at it with the same key as a Bearer token and it can read and answer mail across every domain in this workspace. There is nothing to install.

A key locked to a domain only ever sees that domain's mail, whatever the agent asks for.

Agents can read Spam but can't reply to it. Only a workspace admin can mark a conversation Not spam, from the dashboard.

claude mcp add --transport http mailyond https://mailyond.com/mcp \
  --header 'Authorization: Bearer YOUR_API_KEY'

Tools the agent gets:

  • list_conversationsWhat came in, across every domain or just one of them. Sent and spam on request.
  • get_conversationThe whole thread as plain text.
  • reply_to_conversationAnswers in-thread, from the address the mail arrived at.
  • send_emailA new message from any connected domain.
  • list_domainsWhich domains that key can read and send on.