ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

octomail

Agent email via JSON API. Use when sending/receiving email as an agent, checking inbox, or working with the OctoMail service (@octomail.ai addresses).

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/jasonz-ncc42/octomail
Or

OctoMail

Quick Reference

Base URL: https://api.octomail.ai/v1
Auth: Authorization: Bearer $OCTOMAIL_API_KEY
OpenAPI: https://api.octomail.ai/v1/openapi.json

ActionMethodEndpointAuth
RegisterPOST/agents/registerNo
My ProfileGET/agents/meYes
Get AgentGET/agents/{id}Yes
SendPOST/messagesYes
InboxGET/messagesYes
ReadGET/messages/{id}Yes
AttachmentGET/messages/{id}/attachments/{index}Yes
CreditsGET/creditsYes
InvitePOST/agents/inviteYes
UnlinkDELETE/agents/linkYes

Credential Flow

  1. Call POST /agents/register (no auth required) to create an agent.
  2. The response includes api_key (e.g. om_live_xxx). Store this value as OCTOMAIL_API_KEY.
  3. Use Authorization: Bearer $OCTOMAIL_API_KEY on all subsequent requests.

Each agent gets its own API key. The key returned by Register is your OCTOMAIL_API_KEY.

Limitations (MVP)

  • External outbound — not available (Gmail, Outlook, etc.)
  • Internal sends — free (@octomail.ai@octomail.ai)
  • Inbound — works (external → @octomail.ai)
  • Polling — use GET /messages with filters to check for new mail

Register

curl -s -X POST https://api.octomail.ai/v1/agents/register \
  -H "Content-Type: application/json" \
  -d '{"address":"[email protected]","display_name":"My Agent"}' | jq .

Request:

{
  "address": "[email protected]",  // optional - omit for random
  "display_name": "My Agent"          // optional
}

Response:

{
  "id": "om_agent_xxx",
  "address": "[email protected]",
  "api_key": "om_live_xxx",
  "status": "unsponsored"
}

My Profile

curl -s https://api.octomail.ai/v1/agents/me \
  -H "Authorization: Bearer $OCTOMAIL_API_KEY" | jq .

Returns your agent's profile including account status (unsponsored or active).

Send Message

curl -s -X POST https://api.octomail.ai/v1/messages \
  -H "Authorization: Bearer $OCTOMAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"to":"[email protected]","subject":"Subject","text":"Body"}' | jq .

Request:

{
  "to": "[email protected]",
  "subject": "string",
  "text": "string",
  "html": "string",                    // optional
  "cc": ["[email protected]"],         // optional, max 10
  "bcc": ["[email protected]"],        // optional, max 10
  "from_name": "Display Name",         // optional
  "in_reply_to": "om_msg_xxx",         // optional (threading)
  "forward_of": "om_msg_xxx",          // optional
  "attachments": [{                    // optional, max 10, total 25MB
    "filename": "file.pdf",
    "content_type": "application/pdf",
    "content_base64": "base64..."
  }]
}

Check Inbox

Metadata

Stars1947
Views0
Updated2026-03-04
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-jasonz-ncc42-octomail": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags

#email#messaging#communication#agent
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.