commune-email

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

A programmatic email inbox connected through the Commune API, a web service for sending, receiving, searching, and managing email threads.

In plain words
What is it for?
Use it to create an inbox, send and receive messages, search threads, and manage ongoing email conversations.
Why use it?
It lets a coding agent handle email conversations through code while keeping replies grouped correctly in common email clients.

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, send and receive messages, search threads, and manage ongoing email conversations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/black22345/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 black22345/commune-cookbook --skill commune-email
Clone the repo
git clone --depth 1 https://github.com/black22345/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/black22345/commune-cookbook/commune-email/github.svg)](https://agentmods.dev/skills/black22345/commune-cookbook/commune-email)
Your own site
<a href="https://agentmods.dev/skills/black22345/commune-cookbook/commune-email"><img src="https://agentmods.dev/badge/skills/black22345/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/black22345/commune-cookbook/commune-email"><img src="https://agentmods.dev/badge/skills/black22345/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 original No closer match found 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 $0.00000 $0.00793
Sonnet 5 $0.00000 $0.00317
Haiku 4.5 $0.00000 $0.00159

Measured 10d ago against content hash de00ffb1dea5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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

Copies of this mod

1 near-identical copy found in the catalogue:

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. 10d 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 black22345/commune-cookbook (2 stars, last pushed yesterday), 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

email-management

Inbox management workflow — triage, batching, folder strategy, and inbox zero maintenance.

furkangonel/cowrangler · 19 tokens

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.

commune-dev/commune-cookbook · 0 tokens

commune-agent-network

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

commune-dev/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.

commune-dev/commune-cookbook · 0 tokens

vs-user-onboarding

Guide a brand-new SearchCLI/vs user from first-time usage questions to sign-up, purchase of Viking AI Search, AK/SK setup, and a working authenticated CLI. Use when the user says they downloaded or installed SearchCLI/vs and asks how to use it, how to start, sign up, buy, or onboard.

volcengine/SearchCLI · 72 tokens

novu-design-workflow

Design notification workflows the Novu way — choose channels, set severity, decide when a workflow is critical, configure digests, and route based on subscriber state. Applies to BOTH dashboard-authored and code-first (@novu/framework) workflows. Use when planning a new workflow, deciding which channels to include…

novuhq/novu · 114 tokens