mcpField
P
postmark

postmark

github.com/activecampaignDevelopment46787 installsUpdated 5w ago
Repository

About postmark

A collection of skills that guides AI agents in using the Postmark API for transactional and broadcast email workflows. It covers sending, inbound processing, templates, webhooks, and email practices.

Key features

  1. 01Send single, batch, or templated email
  2. 02Process inbound email webhooks
  3. 03Create and manage email templates
  4. 04Configure outbound event webhooks
  5. 05Guidance on deliverability and compliance

Use cases

  1. 01Send transactional or broadcast messages
  2. 02Build email-to-ticket processing
  3. 03Track delivery, bounce, and open events
  4. 04Prepare domain authentication and list hygiene

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/activecampaign/postmark-skills --skill postmark

After installing, type/postmarkin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

CONTRIBUTING.md
LICENSE
README.md
.gitignore
postmark-email-best-practices/references/
deliverability.md
sending-reliability.md
list-management.md
compliance.md
testing.md
transactional-design.md
postmark-inbound/references/
handler-examples.md
inbound-api.md
inbound-setup.md
payload-structure.md
postmark-send-email/references/
installation.md
error-handling.md
batch-email-examples.md
single-email-examples.md
smtp-migration.md
template-examples.md
postmark-templates/references/
handlebars-syntax.md
layout-templates.md
template-api.md
postmark-webhooks/references/
bounce-management.md
handler-examples.md
payload-examples.md
security.md
webhook-setup.md

Details

From the project README

Postmark Skills

Postmark is a transactional email platform built for developers, with 15+ years of deliverability expertise. These skills teach AI agents how to use the Postmark API effectively.

Sub-Skills

FeatureSkillUse When
Sending emailspostmark-send-emailSending transactional or broadcast emails — single, batch, bulk, or with templates
Inbound processingpostmark-inboundProcessing incoming emails via webhooks, building reply-by-email, email-to-ticket, or document extraction
Template managementpostmark-templatesCreating, editing, or sending with Postmark's server-side Handlebars templates and layouts
Webhookspostmark-webhooksSetting up outbound webhooks for delivery, bounce, open, click, spam complaint, and subscription change events — including endpoint verification, per-webhook statistics, and retry behavior
Best practicespostmark-email-best-practicesDeliverability setup, compliance (CAN-SPAM/GDPR/CASL), email design, list management, testing, and sending reliability
Outbound and inbound webhooks are different systems

postmark-webhooks covers outbound event webhooks; postmark-inbound covers inbound email webhooks. They run on separate infrastructure and have different retry schedules — do not apply one to the other:

Outbound webhooks (postmark-webhooks)Inbound webhooks (postmark-inbound)
RetriesUp to 9 retries over ~72 minutes (3 standard + 6 backoff)Up to 10 retries over ~10.5 hours
Retried on5xx, 408, 429, network timeouts only — every other 4xx is permanentAny non-200 response

Endpoint verification and per-webhook statistics are outbound features — see postmark-webhooks.

Quick Routing

  • "Send an email" → postmark-send-email
  • "Send a batch of emails" → postmark-send-email
  • "Send using a template" → postmark-send-email (template section) or postmark-templates (to create/manage templates)
  • "Handle incoming email" → postmark-inbound
  • "Process inbound webhooks" → postmark-inbound
  • "Create an email template" → postmark-templates
  • "Track deliveries/bounces/opens" → postmark-webhooks
  • "Set up bounce handling" → postmark-webhooks
  • "Verify a webhook endpoint" / "my webhook is unverified" → postmark-webhooks
  • "Webhook statistics / failure rate / why is my webhook paused" → postmark-webhooks
  • "Webhook retries" → postmark-webhooks (outbound events) or postmark-inbound (inbound email)
  • "Set up SPF/DKIM/DMARC" → postmark-email-best-practices
  • "Email compliance / GDPR / CAN-SPAM" → postmark-email-best-practices
  • "Domain warm-up" → postmark-email-best-practices
  • "List hygiene / suppression management" → postmark-email-best-practices
  • "Design a transactional email" → postmark-email-best-practices
  • "Test email safely" → postmark-email-best-practices

Common Setup

Authentication

Postmark uses two types of API tokens:

TokenHeaderScope
Server TokenX-Postmark-Server-TokenSending emails, templates, bounces, webhooks, message streams
Account TokenX-Postmark-Account-TokenManaging servers, domains, sender signatures

Get your Server API Token from Postmark Servers.

SDK Installation

Detect the project language and install the appropriate SDK:

FileLanguageInstall Command
package.jsonNode.js / TypeScriptnpm install postmark
requirements.txt / pyproject.tomlPythonpip install postmarker
GemfileRubygem install postmark
composer.jsonPHPcomposer require wildbit/postmark-php
*.csproj / *.sln.NETdotnet add package Postmark
Message Streams

Postmark separates email by intent into Message Streams:

StreamValuePurpose
Transactionaloutbound1:1 triggered emails (welcome, password reset, receipts) — default
BroadcastbroadcastMarketing, newsletters, announcements

Never mix transactional and broadcast email in the same stream — it damages deliverability.

Resources

Comments

Markdown supported