Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Postmark CLI

$ postmark Official Med Risk
Postmark · Workspace & SaaS · MIT · macos / linux / windows

Postmark CLI (postmark / postmark-cli) manages Postmark email templates (templates pull, templates push), servers (servers list), and transactional test sends (email raw/email template) from the terminal. Useful for syncing HTML/text email templates in Git, though it lacks --json and --dry-run.

FCRS-1.0 Score
64 /100
Usable w/ Caveats
Medium Confidence
Zero-Friction Install
npm install -g postmark-cli
CLI vs MCP Decision CLI Preferred vs MCP

postmark reads and writes local HTML/text template directories directly inside your codebase so templates stay Git-versioned.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
— Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 15 / 25

Simple subcommands (templates, servers, email), but prompts interactively if token flags/env vars are absent and lacks --json output.

  • Interactive token prompt triggers if token env vars/flags are omitted
  • No --json or --no-interactive global flag
Trust & Safety 17 / 25

templates pull only writes local files, while templates push and email mutate remote state without a --dry-run preview.

  • No --dry-run on templates push or email sends
Setup & Portability 11 / 15

Cross-platform Node.js CLI via npm install -g postmark-cli or npx postmark-cli.

  • Available on npm across macOS, Linux, and Windows
Utility & Efficiency 9 / 15

Focused on syncing email templates and quick test sends, covering only a small slice of the Postmark API.

  • Limited to email, servers, and templates command groups
Maintenance & Lineage 7 / 10

Official ActiveCampaign/Postmark repository (ActiveCampaign/postmark-cli) under MIT license, with modest maintenance cadence.

  • Official ActiveCampaign/postmark-cli MIT repo
Docs & Verifiability 5 / 10

Basic README and Postmark template CLI guide, with limited structured CLI reference.

  • Documented in GitHub README and Postmark user guide

Security, Auth & Guardrails

Auth Modes
Env API Key
Credential Storage

Reads POSTMARK_SERVER_TOKEN or POSTMARK_ACCOUNT_TOKEN from environment variables (or --server-token / --account-token flags); prompts interactively if omitted.

Side Effects
Read-Only Local Write Remote Write
Cost & Quotas

MIT open-source CLI; Postmark offers a free developer tier (100 emails/month) and paid volume plans.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Postmark CLI (postmark) Agent Rules
- Always pass `--server-token` / `--account-token` (or set `POSTMARK_SERVER_TOKEN` / `POSTMARK_ACCOUNT_TOKEN`) to prevent interactive token prompts.
- Pull and inspect Git diff before running `postmark templates push`.
- Never send test emails to real customer addresses from `postmark email`.

Agent-Ready Command Recipes

Safe Read-Only Queries

Pull Postmark email templates to local directory
postmark templates pull ./emails/templates --server-token "$POSTMARK_SERVER_TOKEN"

Downloads templates and metadata from a Postmark server into ./emails/templates without modifying remote templates.

Controlled Writes & Previews

Push updated local email templates to Postmark
postmark templates push ./emails/templates --server-token "$POSTMARK_SERVER_TOKEN"

Uploads modified local HTML/text templates back to the target Postmark server.

Strengths for Agents

  • + Clean Git-friendly template directory layout via templates pull and templates push.
  • + Lightweight npm package with simple token-based server scoping.

Caveats & Pitfalls

  • ! Lacks --json, --dry-run, and --non-interactive flags.
  • ! Prompts interactively for tokens if POSTMARK_SERVER_TOKEN / --server-token is missing.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI