Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

pp-postmark

FreeNo executable scriptsNot checked

One account token for every Postmark server, and a local archive that outlasts Postmark's 45-day retention. Trigger phrases: `did my email get delivered`…

mvanhornby mvanhorn★ 2,170 GitHub stars

About this skill

Postmark — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the postmark-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 postmark --cli-only
    
  2. Verify: postmark-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:

go install github.com/mvanhorn/printing-press-library/library/productivity/postmark/cmd/postmark-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.

Postmark gives every server its own token and keeps message history for 45 days by default. This CLI takes one account token and works across all your servers. Pick a server by name with --server, sync messages and bounces into a local SQLite archive that keeps what Postmark expires, and ask questions that span the account, like which server stopped sending or why one customer never got a password reset. It covers all 87 documented API operations, including message streams, webhooks, suppressions, and bulk email, which Postmark's official specs leave out.

Sending is safe to hand to an agent. Send commands print a preview until you add --send, --sandbox validates a message with Postmark's test token without delivering it, and email send-once won't send the same message twice when a script retries.

When to Use This CLI

Use this CLI to operate Postmark from a terminal or an agent: check whether a specific recipient got an email, triage bounces and suppressions, move templates between servers and gate them in CI, send transactional mail safely, and watch sending health across every server in one account. The local archive answers questions about messages older than Postmark's retention window.

Anti-triggers

Do not use this CLI for:

  • Do not use it for Postmark billing, team members, or account settings that only exist in the web dashboard.
  • Do not use it for DMARC digest reports; those come from Postmark's separate DMARC API with its own token.
  • Do not use it to receive inbound email in real time; configure an inbound webhook instead.
  • Do not use it for newsletter list management; Postmark sends broadcasts but does not manage subscriber lists.

Unique Capabilities

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

Account-wide oversight

  • pulse — Compares each server, stream, or tag with its own recent weeks and flags any that stopped sending, dropped off, or spiked in bounces or spam, across every server on the account token.

    A mailer that breaks quietly stops sending instead of throwing errors, so run this weekly to catch the drop.

    postmark-pp-cli pulse --window 7d --baseline 28d --agent
    
  • recipient-domains — Groups sends, bounces by type, complaints, suppressions, and opens by the recipient's mailbox domain across every synced server, so one provider's problem stands out. Run sync first.

    Start here when several missing-email reports come from the same provider or company.

    postmark-pp-cli recipient-domains --window 7d --min-sent 20 --agent
    
  • servers bootstrap — Creates a new project's Postmark server with its message streams, webhooks, sending-domain DNS records, and templates copied from another server. Prints the plan until you add --apply.

    Hand this to an agent setting up email for a new project. Reruns never create a duplicate server.

    postmark-pp-cli servers bootstrap "Lumen" --broadcast-stream --agent
    

Safe sending

  • email send-once — Sends an email at most once per key within a window (15 minutes by default), so an agent or script that retries after an error cannot deliver a second copy. Previews until you add --send.

    Built for one-time codes, receipts, and follow-ups that an agent might retry.

    postmark-pp-cli email send-once --key otp-4821 --from "$SENDER" --to "$RECIPIENT" --subject "Your code" --text "Code: 4821" --agent
    

Templat

Full SKILL.md on GitHub

Install pp-postmark in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

Read
Bash

FAQ

What does the pp-postmark skill do?

One account token for every Postmark server, and a local archive that outlasts Postmark's 45-day retention. Trigger phrases: `did my email get delivered`, `check postmark bounces`, `why didn't they get the reset email`, `push postmark templates`, `postmark sending stats this week`, `set up postmark for a new project`, `use postmark`, `run postmark`.

How do I install the pp-postmark skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the pp-postmark skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare pp-postmark with