Skip to content
Back to skills

Postmark

ASecurity

Postmark specializes in lightning-fast transactional email delivery with industry-leading inbox placement, detailed bounce classification, and templating.

  • 13 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 21, 2026
ai-agentstypescriptbashapi

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 21, 2026

npx -y skills add ashish7802/awesome-api-skills --skill postmark --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Postmark?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Postmark
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ashish7802-postmark/badge)](https://www.skillsdirectory.com/skills/ashish7802-postmark)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Postmark Transactional Email API Skill

## Overview
Postmark specializes in lightning-fast transactional email delivery with industry-leading inbox placement, detailed bounce classification, and templating.

## Installation
```bash
npm install postmark
```

## Setup & Sending Emails
```typescript
import { ServerClient } from 'postmark';

const client = new ServerClient(process.env.POSTMARK_SERVER_API_TOKEN!);

// Send single transactional email
await client.sendEmail({
  From: 'support@myverifieddomain.com',
  To: 'user@example.com',
  Subject: 'Password Reset Request',
  HtmlBody: '<p>Click <a href="https://example.com/reset">here</a> to reset your password.</p>',
  TextBody: 'Visit https://example.com/reset to reset your password.',
  MessageStream: 'outbound',
});
```

## Sending via Postmark Template
```typescript
await client.sendEmailWithTemplate({
  From: 'notifications@myverifieddomain.com',
  To: 'customer@example.com',
  TemplateAlias: 'welcome-email',
  TemplateModel: {
    name: 'Alex',
    action_url: 'https://myverifieddomain.com/dashboard',
    product_name: 'Awesome Platform',
  },
});
```

## AI Pitfalls & Anti-Hallucination Guidelines
- **Token Confusion**: Postmark has Account API Tokens (admin operations) and Server API Tokens (sending emails). Do not send emails using Account Tokens.
- **Sender Signatures**: Attempting to send from an unverified `From` address will return an HTTP 422 error.

## Production Verification Checklist
- [ ] SPF, DKIM, and DMARC DNS records configured on sending domain
- [ ] Inbound webhooks verified with IP filtering or basic auth
- [ ] Bounce webhook configured to suppress inactive email addresses

---
> **Last Verified:** 2026-07-03

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.