commune-email

commune-email is a skill for Claude Code, Codex from commune-dev/commune-cookbook. It costs 0 tokens per session (1,586 once invoked), scanned A, a copy of commune-email, MIT.

A programmable email inbox that lets an agent send, receive, search, and manage email conversations through the Commune API. Its messages follow standard email rules, so replies group correctly in common mail apps.

In plain words
What is it for?
Use it to create an inbox for an agent, read incoming messages, search conversations, send replies, and manage email threads.
Why use it?
It removes the need to handle email manually or build inbox and conversation-threading logic yourself. You still need a Commune API key and inbox settings.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to create an inbox for an agent, read incoming messages, search conversations, send replies, and manage email threads.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/commune-dev/commune-cookbook/commune-email
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add commune-dev/commune-cookbook --skill commune-email
Clone the repo
git clone --depth 1 https://github.com/commune-dev/commune-cookbook

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for commune-email

README.md
[![agentmods](https://agentmods.dev/badge/skills/commune-dev/commune-cookbook/commune-email/github.svg)](https://agentmods.dev/skills/commune-dev/commune-cookbook/commune-email)
Your own site
<a href="https://agentmods.dev/skills/commune-dev/commune-cookbook/commune-email"><img src="https://agentmods.dev/badge/skills/commune-dev/commune-cookbook/commune-email/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for commune-email

Your own site · 80×15
<a href="https://agentmods.dev/skills/commune-dev/commune-cookbook/commune-email"><img src="https://agentmods.dev/badge/skills/commune-dev/commune-cookbook/commune-email.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,586 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01586
Opus 5.5 $0.00000 $0.00634
Sonnet 5.5 $0.00000 $0.00317
Haiku 4.5 $0.00000 $0.00159

Measured 1mo ago against content hash de00ffb1dea5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

commune-email scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (commune.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to commune-email — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

openclaw-email-sms/skills/commune-email/SKILL.md · 219 lines

How it starts

The opening of the file, as written. The whole thing — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: Commune Email

What I Can Do

I give you a real email inbox and let you send, receive, search, and manage email threads programmatically via the Commune API. Every inbox I create is RFC 5322 compliant — replies thread correctly in any email client, including Gmail, Apple Mail, and Outlook.

Authentication

Requires COMMUNE_API_KEY environment variable. Get one at commune.email.

Base URL: https://api.commune.email
Auth header: Authorization: Bearer $COMMUNE_API_KEY
Content-Type: application/json

My Inbox Address

COMMUNE_INBOX_ADDRESS — set this environment variable to your full inbox address after creation (e.g. [email protected]). Also set COMMUNE_INBOX_ID to the inbox's ID string.


Core Operations

Create Inbox

POST /v1/inboxes
Body: { "localPart": "assistant" }
Response: { "id": "inbox_xxx", "address": "[email protected]" }

Save the returned id as COMMUNE_INBOX_ID and address as COMMUNE_INBOX_ADDRESS.


List Email Threads

GET /v1/threads?inbox_id=INBOX_ID&limit=20

Response shape:

{
  "data": [
    {
      "thread_id": "thread_xxx",
      "subject": "Re: Contract draft",
      "last_direction": "inbound",
      "message_count": 3,
      "last_message_at": "2026-02-28T10:00:00Z"
    }
  ]
}

Important: last_direction: "inbound" means the last message came from the other person — this thread is waiting for a reply. last_direction: "outbound" means you replied last.


Read a Thread

GET /v1/threads/THREAD_ID/messages

Returns an array of messages with:

  • direction: "inbound" or "outbound"
  • content: the message body text
  • participants: array of { role: "sender"|"recipient", identity: "[email protected]" }
  • metadata.subject: the email subject

Always read the full thread before replying — context matters.


Send Email (New Thread)

POST /v1/messages/send
Body: {
  "to": "[email protected]",
  "subject": "Meeting notes from today",
  "text": "Hi Sarah, here are the notes...",
  "inboxId": "INBOX_ID"
}

Read the full file on GitHub · 219 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 219 lines · 0 tokens per session scan A de00ffb1dea5

Subscribe to this mod's changes

commune-email is a skill published in the GitHub repository commune-dev/commune-cookbook (2 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,586 tokens. A static security scan graded it A with 0 findings. It is 100% identical to commune-email, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

commune-email

I give you a real email inbox and let you send, receive, search, and manage email threads programmatically via the Commune API. Every inbox I create is RFC 5322 compliant — replies thread correctly in any email client, including Gmail, Apple Mail, and Outlook.

black22345/commune-cookbook · 0 tokens

commune-sms

I give you a real phone number and let you send and receive SMS messages programmatically via the Commune API. You can send texts to any number, read conversation threads, and list all your SMS conversations — all from within your OpenClaw agent.

black22345/commune-cookbook · 0 tokens

commune-agent-network

Requires COMMUNEAPIKEY environment variable. Get one at commune.email.

black22345/commune-cookbook · 0 tokens

mirage-vfs-authoring

Build or extend a custom Mirage VFS adapter for a user's API, database, object store, or application data. Use when connecting a new resource to Mirage, implementing a backend, or packaging a reusable adapter. For reading or editing data in an existing mount, use the filesystem workflow instead.

strukto-ai/mirage · 65 tokens

novu-manage-subscribers

Create, update, search, and delete subscribers in Novu. Manage topics for group-based notification targeting. Set subscriber credentials for push and chat channels. Use when managing notification recipients, creating subscriber records, organizing subscribers into topics, or configuring channel-specific credentials.

novuhq/novu · 60 tokens

novu-trigger-notification

Trigger Novu notification workflows to send messages across email, SMS, push, chat, and in-app channels. Supports single triggers, bulk triggers, broadcast to all subscribers, topic-based targeting, and cancellation. Use when sending transactional notifications, alerts, or any event-driven messages.

novuhq/novu · 61 tokens