Все функции MultiMail плюс поиск по ящикам и статус доверия.

Звёзды2 133
Авторmvanhorn

Установка

SKILL.md

<!-- GENERATED FILE — DO NOT EDIT. This file is a verbatim mirror of library/social-and-messaging/multimail/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/". --><!-- -->

MultiMail — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the multimail-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:<!-- -->
    npx -y @mvanhorn/printing-press-library install multimail --cli-only
    
  2. Verify: multimail-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.5 or newer):

go install github.com/mvanhorn/printing-press-library/library/social-and-messaging/multimail/cmd/multimail-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.

When to Use This CLI

Use multimail-pp-cli when you need to manage an agent email fleet — process oversight queues, monitor trust ladder progression, search across mailboxes, and track inbox health. It turns MultiMail's graduated autonomy model into a daily operator workflow.

Anti-triggers

Do not use this CLI for:

  • Sending bulk marketing email — MultiMail is for agent-to-human communication, not mass email
  • Managing non-MultiMail email accounts (Gmail, Outlook) — use better-email-mcp or native MCP tools
  • Real-time email streaming — use MultiMail webhooks directly for sub-second event delivery
  • Account billing changes — use the MultiMail dashboard for payment and plan management

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Agent-native plumbing

  • fleet health — Single-command account-wide health snapshot: mailbox count, oversight queue depth, webhook delivery rate, domain verification status, usage vs plan limits.

    When an agent needs to know if its MultiMail integration is healthy before sending, one command replaces checking 5 separate endpoints.

    multimail-pp-cli fleet health --json --agent --select mailboxes.total,oversight.pending_count,webhooks.success_rate
    
  • oversight bulk-decide — Approve or reject all pending emails matching a filter (by mailbox, sender, or age) in one command.

    When an agent's test queue has 20 pending emails, one command clears them instead of 20 individual approve calls.

    multimail-pp-cli oversight bulk-decide --approve --mailbox support-agent --json
    
  • oversight velocity — See approval/rejection rates and median decision latency per mailbox across your entire fleet.

    When an agent's sends are stuck in approval queues, this pinpoints which mailbox's operator is the bottleneck.

    multimail-pp-cli oversight velocity --json --days 7
    
  • trust status — Fleet-wide view of each mailbox's oversight mode, time-at-level, and upgrade eligibility.

    Before requesting a trust upgrade, an agent should know which mailboxes are ready and which have been at their current level longest.

    multimail-pp-cli trust status --json --agent --select name,oversight_mode,time_at_level
    
  • trust timeline — Per-mailbox chronological history of every oversight mode change with timestamps and who triggered it.

    When evaluating whether to request a trust upgrade, an agent needs to show its history of responsible operation at each level.

    multimail-pp-cli trust timeline --mailbox support-agent --json
    
  • emails send-and-wait — Send an email and block until a reply arrives or timeout — the agent test loop in one command.

    When an agent needs to send and process the reply in one workflow step, this replaces a manual send-poll-read loop.

    multimail-pp-cli emails send-and-wait --mailbox test-agent --to user@example.com --subject 'Test' --body 'Hello' --timeout 5m --json
    

Local state that compounds

  • mailboxes allowlist coverage — See what percentage of recent recipients are covered by allowlist patterns vs gated.

    Before adding allowlist entries, an agent should know which recipients are already covered and which cause the most gating friction.

    multimail-pp-cli mailboxes allowlist coverage --mailbox primary --days 30 --json --agent --select pattern,match_count,percentage
    
  • inbox health — Per-mailbox health snapshot: unread count, oldest unread age, reply rate, and thread depth.

    An agent monitoring its own inbox health can detect when it is falling behind on replies before the operator notices.

    multimail-pp-cli inbox health --json --agent --select mailbox,unread_count,oldest_unread_age,reply_rate
    
  • threads stale — List conversation threads with no reply in N days — surfaces dropped conversations.

    A dropped conversation thread is a customer-facing failure; this is the agent's early warning system.

    multimail-pp-cli threads stale --days 3 --json --agent --select thread_id,subject,last_reply_age,mailbox
    
  • audit compliance — Cross-entity compliance report: oversight bypass count, approval/rejection counts, decision latency percentiles per mailbox.

    When an auditor needs to verify that agents operated within their approved trust levels, this replaces manual log correlation.

    multimail-pp-cli audit compliance --days 30 --json
    
  • webhooks health — Per-webhook success rate, failure count, last delivery timestamp, and consecutive failure streak.

    When an agent's real-time event pipeline depends on webhooks, this surfaces delivery health before silent failures accumulate.

    multimail-pp-cli webhooks health --json --agent --select webhook_id,url,success_rate,consecutive_failures
    

Command Reference

account — Manage account

  • multimail-pp-cli account create — Requires a solved proof-of-work challenge. Creates a pending signup and sends a confirmation email.
  • multimail-pp-cli account create-challenge — Returns an ALTCHA challenge. Solve it and include the solution as pow_solution in POST /v1/account.
  • multimail-pp-cli account create-resendconfirmation — Public endpoint (no auth required). Resends the activation email with a new code for unconfirmed accounts.
  • multimail-pp-cli account delete — Hard-deletes all tenant data (mailboxes, emails, API keys, usage, audit log). Frees the slug for re-registration.
  • multimail-pp-cli account list — Get current tenant info and usage
  • multimail-pp-cli account update — Update tenant settings

admin — Manage admin

  • multimail-pp-cli admin — Admin-only. Creates a new API key and emails it to the tenant's oversight email.

agent — Manage agent

  • multimail-pp-cli agent create — Initiates agent registration using verified_email identity assertion.
  • multimail-pp-cli agent create-auth — Completes the auth.md registration by validating the claim_token and OTP.
  • multimail-pp-cli agent list — Human-facing page that displays the 6-digit OTP for agent registration. Linked from the verification email.

api-keys — Manage api keys

  • multimail-pp-cli api-keys create — Requires admin scope. The raw key is returned only once in the response.
  • multimail-pp-cli api-keys delete — Requires admin scope. Returns 202 with pending_approval on first call; resend with approval_code to complete.
  • multimail-pp-cli api-keys list — Requires admin scope. Returns key prefix, scopes, and metadata.
  • multimail-pp-cli api-keys update — Update API key name or scopes

approve — Manage approve

  • multimail-pp-cli approve create — Process approval/rejection from hosted page
  • multimail-pp-cli approve get — Render hosted approval page for oversight decisions

audit-log — Manage audit log

  • multimail-pp-cli audit-log — Returns audit log entries with cursor pagination. Requires admin scope.

auth-md — Manage auth md

  • multimail-pp-cli auth-md — Returns a markdown document describing MultiMail's agent registration flow, trust ladder, and scope model.

billing — Manage billing

  • multimail-pp-cli billing create — Requires admin scope.
  • multimail-pp-cli billing create-checkout — Create a Stripe checkout session for plan upgrade
  • multimail-pp-cli billing create-coinbasewebhook — Coinbase Commerce webhook handler (public, signature-verified)
  • multimail-pp-cli billing create-cryptocheckout — Create a Coinbase Commerce checkout (crypto payment)
  • multimail-pp-cli billing create-portal — Requires admin scope.
  • multimail-pp-cli billing create-pricingcheckout — Creates an inactive tenant, provisions a default mailbox, and returns a Stripe checkout URL.
  • multimail-pp-cli billing create-stripewebhook — Stripe webhook handler (public, signature-verified)
  • multimail-pp-cli billing list — Public endpoint. Returns the API key stored during pricing-checkout, then deletes it.

confirm — Manage confirm

  • multimail-pp-cli confirm create — JSON response includes: status, name, oversight_mode, api_key, mailbox_id, mailbox_address, oversight_email, use_case.
  • multimail-pp-cli confirm get — Redirect to frontend confirmation page with code prefilled
  • multimail-pp-cli confirm list — Redirect to frontend confirmation page at multimail.dev/confirm

contacts — Manage contacts

  • multimail-pp-cli contacts create — Add a contact to the address book. Requires send scope.
  • multimail-pp-cli contacts delete — Requires admin scope.
  • multimail-pp-cli contacts list — Search address book by name or email. Omit query to list all. Requires read scope.

data_export — Manage data export

  • multimail-pp-cli data-export — Requires admin scope. Rate limited to 1 request per hour.

domains — Manage domains

  • multimail-pp-cli domains create — Add a custom domain (Pro/Scale only)
  • multimail-pp-cli domains delete — Delete a custom domain
  • multimail-pp-cli domains get — Get custom domain detail
  • multimail-pp-cli domains list — Requires admin scope.

emails — Manage emails

  • multimail-pp-cli emails — Requires read scope.

funnel — Manage funnel

  • multimail-pp-cli funnel — Pricing page beacon hit via navigator.sendBeacon to track open/submit/error events on the signup modal.

health — Manage health

  • multimail-pp-cli health — Verifies D1 and R2 connectivity. No auth required.

mailboxes — Manage mailboxes

  • multimail-pp-cli mailboxes create — Requires admin scope.
  • multimail-pp-cli mailboxes delete — Requires admin scope.
  • multimail-pp-cli mailboxes list — Requires read scope.
  • multimail-pp-cli mailboxes update — Requires admin scope. Oversight mode can only be downgraded here; upgrades require the upgrade flow.

operator — Manage operator

  • multimail-pp-cli operator create — Requires admin scope. Clears the operator-session cookie.
  • multimail-pp-cli operator create-startsession — Requires admin scope. Sends a one-time code to the oversight email and begins the operator-session OTP flow.
  • multimail-pp-cli operator create-verifysession — Requires admin scope. Exchanges a one-time code for a short-lived HttpOnly operator-session cookie.
  • multimail-pp-cli operator list — Requires admin scope. Reports whether the current browser has an active operator-session cookie.

oversight — Manage oversight

  • multimail-pp-cli oversight create — Requires oversight scope. Approved outbound emails are sent immediately.
  • multimail-pp-cli oversight list — List emails pending oversight approval

slug-check — Manage slug check

  • multimail-pp-cli slug-check <slug> — Check if a slug is available for registration. Returns suggestions if taken or reserved. No auth required.

support — Manage support

  • multimail-pp-cli support — Public endpoint. Requires a solved ALTCHA proof-of-work payload. Sends a message to support@multimail.dev.

suppression — Manage suppression

  • multimail-pp-cli suppression delete — Allows future emails to be sent to this address again. Requires admin scope.
  • multimail-pp-cli suppression list — Returns addresses suppressed due to bounces, spam complaints, or manual unsubscribes. Requires admin scope.

unsubscribe — Manage unsubscribe

  • multimail-pp-cli unsubscribe create — Process unsubscribe request
  • multimail-pp-cli unsubscribe get — Render unsubscribe page (CAN-SPAM)

usage — Manage usage

  • multimail-pp-cli usage — Requires read scope. Returns usage counts for the current billing period.

webhook-deliveries — Manage webhook deliveries

  • multimail-pp-cli webhook-deliveries — Returns recent webhook delivery attempts. Requires admin scope.

webhooks — Manage webhooks

  • multimail-pp-cli webhooks create — Subscribe to email events. Returns the signing secret (shown only on creation). Requires admin scope.
  • multimail-pp-cli webhooks create-postmark — Postmark bounce/complaint/delivery webhook handler
  • multimail-pp-cli webhooks create-postmarkinbound — Receives inbound emails from Postmark. Authenticated via HTTP Basic Auth with the Postmark webhook secret.
  • multimail-pp-cli webhooks delete — Delete a webhook subscription
  • multimail-pp-cli webhooks get — Includes signing secret. Requires admin scope.
  • multimail-pp-cli webhooks list — Requires admin scope. Signing secrets are not included in the list.

well-known — Manage well known

  • multimail-pp-cli well-known get — Rate-limited to 10 lookups per IP per hour.
  • multimail-pp-cli well-known list — Returns the ECDSA P-256 public key used to sign X-MultiMail-Identity headers.
  • multimail-pp-cli well-known list-wellknown — Returns OAuth authorization server metadata with an agent_auth extension block describing the auth.
  • multimail-pp-cli well-known list-wellknown-2 — Returns metadata about MultiMail as an OAuth-protected resource, including supported scopes and authorization servers.

Finding the right command

When you know what you want to do but not which command does it, ask the CLI directly:

multimail-pp-cli which "<capability in your own words>"

which resolves a natural-language capability query to the best matching command from this CLI's curated feature index. Exit code 0 means at least one match; exit code 2 means no confident match — fall back to --help or use a narrower query.

Recipes

Approve all pending emails for a mailbox

multimail-pp-cli oversight list --json --select id,subject,to | multimail-pp-cli oversight bulk-decide --approve --stdin

Pipe pending email IDs into batch approval — useful for clearing a gated mailbox queue.

Fleet trust ladder overview

multimail-pp-cli trust status --json --agent --select name,oversight_mode,time_at_level

See which mailboxes are at which trust level and how long they have been there.

Cross-mailbox search with field selection

multimail-pp-cli search 'quarterly report' --type emails --json --agent --select subject,from,mailbox,received_at

Find a specific email across all synced mailboxes with narrow field output for agent context efficiency.

Sync and check inbox health

multimail-pp-cli sync --resources mailboxes,emails --since 24h && multimail-pp-cli inbox health --json

Refresh local data then check unread counts, reply rates, and oldest unread age per mailbox.

Allowlist coverage analysis

multimail-pp-cli mailboxes allowlist coverage --mailbox primary --days 30 --json --agent --select pattern,match_count,percentage

See what percentage of recent recipients match allowlist patterns — find which addresses cause the most gating friction.

Auth Setup

MultiMail uses Bearer token auth with prefixed keys: mm_live_* for production, mm_test_* for staging. Get your key from the MultiMail dashboard or via the API key management endpoints.

Запустите multimail-pp-cli doctor чтобы проверить настройку.

Режим агента

Добавьте --agent к любой команде. Разворачивается в: --json --compact --no-input --no-color --yes.

  • Поддерживает конвейер — JSON в stdout, ошибки в stderr

  • Поддерживает фильтрацию — --select оставляет подмножество полей. Точечные пути спускаются во вложенные структуры; массивы обходятся поэлементно. Критично для сохранения компактного контекста при работе с многословными API:

    multimail-pp-cli account list --agent --select id,name,status
    
  • Поддерживает предпросмотр — --dry-run показывает запрос без отправки

  • Работает офлайн — команды sync/search могут использовать локальное хранилище SQLite, когда оно доступно

  • Неинтерактивный — никогда не запрашивает ввод, каждый вход — это флаг

  • Явные повторы — используйте --idempotent только когда уже существующий create должен считаться успехом, и --ignore-missing только когда отсутствующая цель удаления должна считаться успехом

Обёртка ответа

Команды, читающие из локального хранилища или API, оборачивают вывод в обёртку происхождения:

{
  "meta": {"source": "live" | "local", "synced_at": "...", "reason": "..."},
  "results": <data>
}

Разбирайте .results для данных и .meta.source чтобы узнать, живой он или локальный. Человекочитаемая N results (live) сводка выводится в stderr только когда stdout является терминалом И не установлен флаг машинного формата (--json, --csv, --compact, --quiet, --plain, --select) — конвейерные/агентные потребители и запуски с явным форматом получают чистый JSON в stdout.

Обратная связь агента

Когда вы (или агент) замечаете что-то неладное в этом CLI, запишите это:

multimail-pp-cli feedback "the --since flag is inclusive but docs say exclusive"
multimail-pp-cli feedback --stdin < notes.txt
multimail-pp-cli feedback list --json --limit 10

Записи хранятся локально в ~/.local/share/multimail-pp-cli/feedback.jsonl. Они никогда не отправляются POST, если не установлен MULTIMAIL_FEEDBACK_ENDPOINT И при этом либо передан --send либо MULTIMAIL_FEEDBACK_AUTO_SEND=true. Поведение по умолчанию — только локально.

Пишите то, что удивило вас, а не отчёт об ошибке. Коротко, конкретно, одной строкой: именно эта часть накапливается.

Доставка вывода

Каждая команда принимает --deliver <sink>. Вывод направляется в указанный приёмник в дополнение к stdout (или вместо него), чтобы агенты могли маршрутизировать результаты команд без ручного конвейера. Поддерживаются три приёмника:

ПриёмникЭффект
stdoutПо умолчанию; запись только в stdout
file:<path>Атомарно записать вывод в <path> (tmp + rename)
webhook:<url>Отправить тело вывода POST на URL (application/json or application/x-ndjson когда --compact)

Неизвестные схемы отклоняются со структурированной ошибкой, называющей поддерживаемый набор. Сбои webhook возвращают ненулевой код и логируют URL + HTTP-статус в stderr.

Именованные профили

Профиль — это сохранённый набор значений флагов, переиспользуемый между вызовами. Используйте его, когда запланированный агент вызывает одну и ту же команду при каждом запуске с одинаковой конфигурацией — шаблон "Beacon" от HeyGen.

multimail-pp-cli profile save briefing --json
multimail-pp-cli --profile briefing account list
multimail-pp-cli profile list --json
multimail-pp-cli profile show briefing
multimail-pp-cli profile delete briefing --yes

Явные флаги всегда побеждают значения профиля; значения профиля побеждают значения по умолчанию. agent-context перечисляет все доступные профили в available_profiles так что интроспектирующие агенты обнаруживают их во время выполнения.

Коды выхода

КодЗначение
0Успех
2Ошибка использования (неверные аргументы)
3Ресурс не найден
4Требуется аутентификация
5Ошибка API (проблема на стороне upstream)
7Ограничение частоты (подождите и повторите)
10Ошибка конфигурации

Разбор аргументов

Разберите $ARGUMENTS:

  1. Пусто, help, or --help → показать multimail-pp-cli --help вывод
  2. Начинается с install → заканчивается на mcp → установка MCP; иначе → см. раздел Prerequisites выше
  3. Что-либо ещё → Прямое использование (выполнить как команду CLI с --agent)

Установка MCP-сервера

  1. Установите MCP-сервер:<!-- -->
    go install github.com/mvanhorn/printing-press-library/library/social-and-messaging/multimail/cmd/multimail-pp-mcp@latest
    
  2. Зарегистрируйте в Claude Code:<!-- -->
    claude mcp add multimail-pp-mcp -- multimail-pp-mcp
    
  3. Проверьте: claude mcp list

Прямое использование

  1. Проверьте, установлено ли: which multimail-pp-cli Если не найдено, предложите установить (см. раздел Prerequisites в начале этого навыка).
  2. Сопоставьте запрос пользователя с лучшей командой из разделов Unique Capabilities и Command Reference выше.
  3. Выполните с флагом --agent :<!-- -->
    multimail-pp-cli <command> [subcommand] [args] --agent
    
  4. Если неоднозначно, углубитесь в справку подкоманды: multimail-pp-cli <command> --help.

Вставить в README

Ссылка на карточку для вашего README — без картинок и счётчиков.

[DarkPlay: pp-multimail](https://darkplay.ru/ai/skills/mvanhorn-printing-press-library-pp-multimail)

Похожие скиллы и другие разделы каталога

Популярное в разделе «Скиллы»

Самые востребованные скиллов раздела по установкам и звёздам.

find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
4 400 000 устан.
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
1 600 000 устан.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
1 600 000 устан.
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
1 600 000 устан.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
1 600 000 устан.
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
1 500 000 устан.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
1 400 000 устан.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
1 300 000 устан.
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
1 300 000 устан.
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.
1 300 000 устан.

Лучшие ИИ-инструменты для генерации видео

Генерация видео

Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,

VEED.IOVeed
По запросу
5.0
MootionMootion
По запросу
5.0
FlyviFlyvi
Есть бесплатный тариф
4.9
Google Veo 3.1Google
Платно
4.9
Sora (OpenAI)OpenAI
Платно
4.9
PikaPika
Платно
4.9
captions space
Есть бесплатный тариф
4.8
Клайп
Есть бесплатный тариф
4.8
viralpulse.appViralpulse
По запросу
4.8
Viral Maker AIViral-maker
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации текста и копирайтинга

Генерация текста и копирайтинг

Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра

NeuroscribeNeuroscribe
Есть бесплатный тариф
5.0
GoGPTGogpt
По запросу
5.0
ChatsonicChatsonic
По запросу
4.9
НейроТекстерNeuro-texter
По запросу
4.9
ChatGPTOpenAI
По подписке
4.9
Редактум
Есть бесплатный тариф
4.8
ChadGPTChadgpt
По запросу
4.8
Cosmo ScribeCosmoscribe
Есть бесплатный тариф
4.8
Memo HelperCopilot33
По запросу
4.8
LibraChatLibrachat
Есть бесплатный тариф
4.8

Лучшие ИИ-инструменты для генерации изображений

Генерация изображений

Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты

MagviMagvi
По запросу
5.0
DALL-E 3OpenAI
По подписке
5.0
SupaLabSupalab
По запросу
5.0
Freestyling.aiFreestyling
Есть бесплатный тариф
4.9
ArtGeneration.meArtgeneration
Есть бесплатный тариф
4.9
BigjpgBigjpg
По запросу
4.9
Художник от VKVK
Бесплатно
4.9
Wonderink — ИИ-книги
Есть бесплатный тариф
4.8
Avato AI12ai
По запросу
4.8
Virton AIVirton
По запросу
4.8