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).
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jasonz-ncc42/octomailOctoMail
Quick Reference
Base URL: https://api.octomail.ai/v1
Auth: Authorization: Bearer $OCTOMAIL_API_KEY
OpenAPI: https://api.octomail.ai/v1/openapi.json
| Action | Method | Endpoint | Auth |
|---|---|---|---|
| Register | POST | /agents/register | No |
| My Profile | GET | /agents/me | Yes |
| Get Agent | GET | /agents/{id} | Yes |
| Send | POST | /messages | Yes |
| Inbox | GET | /messages | Yes |
| Read | GET | /messages/{id} | Yes |
| Attachment | GET | /messages/{id}/attachments/{index} | Yes |
| Credits | GET | /credits | Yes |
| Invite | POST | /agents/invite | Yes |
| Unlink | DELETE | /agents/link | Yes |
Credential Flow
- Call
POST /agents/register(no auth required) to create an agent. - The response includes
api_key(e.g.om_live_xxx). Store this value asOCTOMAIL_API_KEY. - Use
Authorization: Bearer $OCTOMAIL_API_KEYon 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 /messageswith 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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-jasonz-ncc42-octomail": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
Meeting Brief Copilot
Turn people, companies, agendas, notes, and email threads into consulting-style meeting briefs, sharp questions, follow-up emails, and action items.
ABL.ONE Canonical Language
A strict binary communication protocol for high-density, agent-to-agent interactions.
phone-calling
Make international phone calls to any country. Low per-minute rates. Pay with PayPal or UPI.
Whistle RPC
Production Solana RPC for AI agents. Unlimited JSON-RPC, WebSocket. 1 SOL/month via on-chain payment. No rate limits, no tiers.
WalletPilot-7715
Execute on-chain transactions with user-granted permissions. Built on MetaMask ERC-7715. No private keys, full guardrails.