# Pp Agentmail

AgentMail operations with local memory, safe sends, and fleet-wide insight.

- Repository: https://github.com/mvanhorn/printing-press-library (2101 stars)
- Category: Engineering
- License: Apache-2.0
- Last updated: 2026-10-31
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add mvanhorn/printing-press-library --skill pp-agentmail -g -a claude-code -y`
Codex: `npx skills add mvanhorn/printing-press-library --skill pp-agentmail -g -a codex -y`
Cursor: `npx skills add mvanhorn/printing-press-library --skill pp-agentmail -g -a cursor -y`
Gemini CLI: `npx skills add mvanhorn/printing-press-library --skill pp-agentmail -g -a gemini-cli -y`

## Description

AgentMail operations with local memory, safe sends, and fleet-wide insight. Trigger phrases: `check my AgentMail inboxes`, `search AgentMail messages`, `review a draft before sending`, `find unresolved AgentMail follow-ups`, `audit scheduled AgentMail sends`, `use AgentMail`, `run AgentMail`.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

<!-- GENERATED FILE, DO NOT EDIT.
     This file is a verbatim mirror of library/social-and-messaging/agentmail/SKILL.md,
     regenerated post-merge by tools/generate-skills/. Hand-edits here are
     silently overwritten on the next regen. Edit the library/ source instead.
     See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

# AgentMail, Printing Press CLI

## Prerequisites: Install the CLI

This skill drives the `agentmail-pp-cli` binary. **You must verify the CLI is installed before invoking any command from this skill.** If it is missing, install it first:

1. Install via the Printing Press installer. It defaults binaries to `$HOME/.local/bin` on macOS/Linux and `%LOCALAPPDATA%\Programs\PrintingPress\bin` on Windows:
   ```bash
   npx -y @mvanhorn/printing-press-library install agentmail --cli-only
   ```
2. Verify: `agentmail-pp-cli --version`
3. Ensure the reported install directory is on `$PATH` for the agent/runtime that will invoke this skill.

If the `npx` install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into `$GOPATH/bin` (default `$HOME/go/bin`), so add that directory to `$PATH` instead:

```bash
go install github.com/mvanhorn/printing-press-library/library/social-and-messaging/agentmail/cmd/agentmail-pp-cli@latest
```

If `--version` reports "command not found" after install, the runtime cannot see the binary directory on `$PATH`. Do not proceed with skill commands until verification succeeds.

The CLI covers AgentMail's inbox, message, thread, draft, webhook, domain, list, metric, key, pod, and organization surfaces. It adds local triage queues, pre-send risk checks, conversation rollups, schedule audits, delivery reconciliation, and fleet health so agents can reason across time and resources instead of replaying isolated API calls.

## When to Use This CLI

The rest: https://github.com/mvanhorn/printing-press-library/blob/HEAD/cli-skills/pp-agentmail/SKILL.md
