mailbuttons

mailbuttons is a skill for Claude Code, Codex from mailbuttons/mcp-server. It costs 153 tokens per session (2,193 once invoked), scanned A, a copy of mailbuttons, MIT.

A setup guide for giving an AI agent its own governed email inbox through Mailbuttons, with rules for allowed senders, message checks, and logged actions.

In plain words
What is it for?
Use it to create a sandbox inbox, configure inbound delivery and sender rules, add example integration code, and request human approval for production use.
Why use it?
It separates testing from going live and prevents the agent from sending external email or changing approval settings on its own.

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 a sandbox inbox, configure inbound delivery and sender rules, add example integration code, and request human approval for production use.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mailbuttons/mcp-server/skill
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 mailbuttons/mcp-server --skill skill
Clone the repo
git clone --depth 1 https://github.com/mailbuttons/mcp-server

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 mailbuttons

README.md
[![agentmods](https://agentmods.dev/badge/skills/mailbuttons/mcp-server/skill/github.svg)](https://agentmods.dev/skills/mailbuttons/mcp-server/skill)
Your own site
<a href="https://agentmods.dev/skills/mailbuttons/mcp-server/skill"><img src="https://agentmods.dev/badge/skills/mailbuttons/mcp-server/skill/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 mailbuttons

Your own site · 80×15
<a href="https://agentmods.dev/skills/mailbuttons/mcp-server/skill"><img src="https://agentmods.dev/badge/skills/mailbuttons/mcp-server/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,193 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00153 $0.02193
Opus 5.5 $0.00061 $0.00877
Sonnet 5.5 $0.00031 $0.00439
Haiku 4.5 $0.00015 $0.00219

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

Security

Grade A, and why

mailbuttons scanned grade A with 1 finding 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.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- curl
Origin

This is a copy

100% identical to mailbuttons — 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.

skill/SKILL.md · 102 lines

How it starts

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

Mailbuttons — governed agent email setup

Mailbuttons is governed email for AI agents: give an agent its own inbox, but every message is checked against your policy on Mailbuttons' servers before the model sees it, the agent only acts on senders you've allowed, and every action is logged. EU/UK hosted. Sign up and get an API key at mailbuttons.com — docs at mailbuttons.com/developers.

This skill scaffolds a complete, working email integration for an AI agent against Mailbuttons, end to end: a sandbox inbox, a reviewed policy, wired inbound delivery, example code for the user's stack, and a green self-test. Then it stops and hands the "go live" decision to a human.

The one rule that governs everything here

Everything you do with this skill happens in a sandbox. You never enable external sending, never promote sandbox → production, and never widen a token's scope. Those are human-only actions. When the integration is ready, you call mailbuttons_request_promotion, which returns an approval link for a person to click. You do not click it, simulate it, or work around it. This is the product's core promise — a stranger can't email the agent into doing something it shouldn't, and the agent can't grant itself permission either. Respect it exactly.

If a user asks you to enable external send, raise the limit, or "just make it live," explain that promotion is a human approval by design and produce the approval request instead.

Prerequisites

  • MAILBUTTONS_API_KEY available in the environment, set to a sandbox token (mb_sandbox_...). The fastest way to get one is step 1 (it returns the token). If the user already has one, set it as an env var; do not hard-code it.
  • The user's account API key (for step 1 only) to provision the inbox. Provisioning is a customer action — an agent can never create its own inbox.
  • The Mailbuttons MCP tools are available (this skill assumes the mailbuttons_* tool surface). If a tool call fails with an auth error, surface the message and stop — do not retry blindly.

Read the full file on GitHub · 102 lines

Files

What ships with it

3 files 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 · 102 lines · 153 tokens per session scan A 2ea2b337610a

Subscribe to this mod's changes

mailbuttons is a skill published in the GitHub repository mailbuttons/mcp-server (1 stars, last pushed 1mo ago), licensed MIT. It adds 153 tokens to every session and 2,193 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to mailbuttons, differing in 0 lines, and is treated as a copy.

Related

mailbuttons compared with skills from other repositories

mailbuttons next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mailbuttonsmailbuttons/mcp-serverSkill11mo agoMITA153Claude Code, Codex
nornweave-apiDataCovey/nornweaveSkill324d agoApache-2.0A77Claude Code, Codex
pipefy-members-email-webhookspipefy/ai-toolkitSkill54todayApache-2.0A35Claude Code
servicenow-platform-utilitiesKnuckles-Team/servicenow-apiSkill20todayMITA78Claude Code, Codex
clawaimailjoansongjr/clawaimailSkill28mo agoMITA46Claude Code, Codex
n8n-subworkflowsczlonkowski/n8n-mcpSkill23kyesterdayMITA121Claude Code, Codex
n8n-code-toolczlonkowski/n8n-mcpSkill23kyesterdayMITA221Claude Code, Codex