Skip to main content

AgentMail Email Integration

AgentMail Setup

Configured: 2026-09-13 Owner: Christopher Tan

OpenClaw configuration

  • AgentMail skill: installed from ClawHub (agentmail 1.1.1)
  • OpenClaw skill entry: enabled
  • Credential reference: AGENTMAIL_API_KEY in protected secret storage
  • API host: api.agentmail.to
  • API key is intentionally not recorded here.

Inboxes

  • mastercontrol@agentmail.to — primary OpenClaw AgentMail inbox
  • workerb@agentmail.to — secondary worker inbox; currently created and accessible

Python integration

  • Python packages: agentmail, python-dotenv
  • SDK imports verified successfully.
  • AgentMail API base: https://api.agentmail.to/v0

Verification

  • Primary inbox listing: successful (HTTP 200)
  • Primary inbox message retrieval: successful (HTTP 200)
  • Send/receive self-test: successful; sent and retrieved subject OpenClaw AgentMail self-test.
  • Worker B thread listing: successful (HTTP 200); currently zero threads.

Operational notes

  • Use the protected secret prompt for key replacement; never put API keys in chat or this page.
  • AgentMail send endpoint is /v0/inboxes/{inbox_id}/messages/send.
  • Creating additional inboxes is subject to the AgentMail plan inbox limit.