Macromail.Dev — AI skill for Claude Code
Free, open-source email for AI agents: agent mailboxes, an MCP server and REST API, sending through your own SMTP account.
How to install Macromail.Dev
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open willykeenan/macromail.dev and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Macromail.Dev does
Free, open-source email for AI agents: agent mailboxes, an MCP server and REST API, sending through your own SMTP account. Self-host in three commands; SQLite, no cloud services.
Alternatives in AI
- CodeWebChat — GitHub Repo stars Free AI coding for the rest of us Free AI coding 1.4k ★
- Rb Setup — First-time setup 1.3k ★
- Qiaomu Markdown Proxy — Fetch any URL as clean Markdown via proxy services (r.jina.ai / defuddle.md) or built-in scripts 426 ★
README
MacroMail
A free, open-source, self-hostable email tool for AI agents.

Real screenshot of a self-hosted instance.
MacroMail is this Next.js app. Mail data lives in SQLite under `MACROMAIL_DATA_DIR`. Agents talk to it over REST v1 and a hosted MCP endpoint at `/api/mcp`.
Source: [github.com/willykeenan/macromail.dev](https://github.com/willykeenan/macromail.dev). License: MIT.
What works today
- Accounts and API keys
- Agent mailboxes on the server's own domains (
MACROMAIL_MAILBOX_DOMAINS) with internal delivery between MacroMail mailboxes (no internet inbound) - REST v1
- MCP at
/api/mcp— the tools on that endpoint work - Outbound email through the SMTP account each user saves in Settings (never the server owner’s mailbox)
- Optional read-only Gmail/Outlook connect when the server has OAuth env vars
- AI triage and drafts with the user’s own Anthropic key (Settings, or the
x-anthropic-keyheader)
Self-host (3 commands)
cp .env.example .env
npm ci
npm run dev
Open [http://localhost:3000](http://localhost:3000). Generate `SESSION_SECRET` and `TOKEN_ENC_KEY` with `openssl rand -hex 32` before a production start. More in [docs/SELF-HOST.md](docs/SELF-HOST.md).
npm run build
npm start
npm test
Docs
Human docs: [/docs](https://macromail.dev/docs) once the app is running, or the same route locally. Machine-readable: [`/llms.txt`](public/llms.txt) and [`/llms-full.txt`](public/llms-full.txt).
Run with Docker
The image is published at `ghcr.io/willykeenan/macromail.dev` for Apple silicon and Intel.
docker run -p 3000:3000 -v macromail-data:/data -e MACROMAIL_SESSION_SECRET= ghcr.io/willykeenan/macromail.dev
Open http://localhost:3000. Agents connect over REST v1 or the MCP endpoint at `/api/mcp`.
Related Skills
Jasmin Catering AI Agent
Jasmin Catering is an AI Agent solution that enhances the catering workflow by handling customer inquiries and
Elasticemail MCP Server
Official MCP server for the Elastic Email REST API v4. Lets AI agents in VS Code, Cursor, Claude Code and othe
Lpm
Start, stop, and duplicate dev projects with one click. The best workspace for running Claude Code, Codex, and
Dsh Plugin Dev Skill
Agent skill for developing DeepSeek Harness (DSH) plugins — tools (defineTool), LLM adapters, services, events
Obsidian AI Tagger Universe
An intelligent Obsidian plugin that leverages AI to automatically analyze note content and suggest relevant ta
Cmmc Advisor
CMMC 2.0 compliance advisor as a Claude Code skill. All 3 levels, 14 domains, 110 practices; CUI scoping, SSP
Related Agents
Email Drafter
Step 4 of the internship pipeline. Writes a short, personable intro email and saves it as a Gmail DRAFT, never
Shine Data Engineer
Local data analysis via DuckDB/SQLite MCP — SQL on CSV/Parquet/JSON/Excel without cloud services. Produces cha
Campaign Operator
Deploys campaigns to Meta Ads (via the meta ads CLI), Google Ads (a real hybrid REST :mutate write flow + goog