К основному содержанию
скилл CX Codex

postmark-automation — скилл для Claude Code

Скилл postmark-automation гоняет Postmark через Rube MCP: отправка писем по шаблонам, правка шаблонов, статистика доставки и разбор bounce'ов прямо из чата с агентом.

MIT 120 установок ★ 3 785 обновлён 2026-10-25

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add davepoon/buildwithclaude --skill postmark-automation -a claude-code
Открыть на GitHub

Что делает postmark-automation

Скилл учит агента работать с Postmark через Rube MCP, MCP-сервер Composio, который держит подключение к почтовому сервису. Внутри расписаны готовые цепочки вызовов: найти шаблон, проверить его на тестовых данных, отправить письма пачкой. Отдельные разделы — про bounce'ы, спам-жалобы и настройки сервера.

Перед первым запуском добавьте https://rube.app/mcp в конфиг MCP-клиента и вызовите RUBE_MANAGE_CONNECTIONS с toolkit postmark. Если соединение не ACTIVE, скилл вернёт ссылку на авторизацию, и до её прохождения запросы к Postmark не пройдут. Ключи API в конфиг класть не нужно.

Схемы инструментов меняются, поэтому скилл велит сначала дёргать RUBE_SEARCH_TOOLS, а уже потом собирать вызов. Пачка ограничена 500 письмами за раз, а адрес отправителя должен быть подтверждённой Sender Signature или доменом из верифицированных, иначе отправка сорвётся.

Какие задачи решает

  • отправить шаблонное письмо сразу списку получателей
  • проверить шаблон на тестовых данных до отправки
  • выгрузить bounce'ы и спам-жалобы за нужный период
  • переключить трекинг открытий на сервере Postmark
  • найти ID и alias шаблонов перед вызовом

Примеры запросов агенту

  • Отправь шаблон welcome всем получателям из users.csv через Postmark
  • Покажи hard bounce'ы за неделю и спам-жалобы рядом
  • Проверь шаблон invoice на этих тестовых данных, прежде чем отправлять

Как установить postmark-automation

1Через Skills CLI (Vercel)

npx skills add davepoon/buildwithclaude --skill postmark-automation -a claude-code

2Вручную: положить файлы

~/.claude/skills/postmark-automation/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/postmark-automation/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о postmark-automation

Как установить postmark-automation в Claude Code?

Выполните npx skills add davepoon/buildwithclaude --skill postmark-automation -a claude-code. Скилл появится по пути ~/.claude/skills/postmark-automation/SKILL.md.

Что делает postmark-automation?

Даёт агенту последовательности вызовов Postmark через Rube MCP: отправка писем по шаблонам, правка шаблонов, статистика доставки, bounce'ы и настройки сервера.

Нужен ли ключ API Postmark?

В конфиг клиента ключ не кладут. Достаточно добавить https://rube.app/mcp и авторизовать Postmark через RUBE_MANAGE_CONNECTIONS с toolkit postmark.

Исходный текст

SKILL.md · MIT
---
name: postmark-automation
description: "Automate Postmark email delivery tasks via Rube MCP (Composio): send templated emails, manage templates, monitor delivery stats and bounces. Always search tools first for current schemas."
requires:
  mcp: [rube]
category: email
---

# Postmark Automation via Rube MCP

Automate Postmark transactional email operations through Composio's Postmark toolkit via Rube MCP.

**Toolkit docs**: [composio.dev/toolkits/postmark](https://composio.dev/toolkits/postmark)

## Prerequisites

- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Postmark connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `postmark`
- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas

## Setup

**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.


1. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds
2. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `postmark`
3. If connection is not ACTIVE, follow the returned auth link to complete Postmark authentication
4. Confirm connection status shows ACTIVE before running any workflows

## Core Workflows

### 1. Send Templated Batch Emails

**When to use**: User wants to send templated emails to multiple recipients in one call

**Tool sequence**:
1. `POSTMARK_LIST_TEMPLATES` - Find available templates and their IDs [Prerequisite]
2. `POSTMARK_VALIDATE_TEMPLATE` - Validate template with model data before sending [Optional]
3. `POSTMARK_SEND_BATCH_WITH_TEMPLATES` - Send batch emails using a template [Required]

**Key parameters**:
- `TemplateId` or `TemplateAlias`: Identifier for the template to use
- `Messages`: Array of message objects with `From`, `To`, `TemplateModel`
- `TemplateModel`: Key-value pairs matching template variables

**Pitfalls**:
- Maximum 500 messages per batch call
- Either `TemplateId` or `TemplateAlias` is required, not both
- `TemplateModel` keys must match template variable names exactly (case-sensitive)
- Sender address must be a verified Sender Signature or from a verified domain

### 2. Manage Email Templates

**When to use**: User wants to create, edit, or inspect email templates

**Tool sequence**:
1. `POSTMARK_LIST_TEMPLATES` - List all templates with IDs and names [Required]
2. `POSTMARK_GET_TEMPLATE` - Get full template details including HTML/text body [Optional]
3. `POSTMARK_EDIT_TEMPLATE` - Update template content or settings [Optional]
4. `POSTMARK_VALIDATE_TEMPLATE` - Test template rendering with sample data [Optional]

**Key parameters**:
- `TemplateId`: Numeric template ID for GET/EDIT operations
- `Name`: Template display name
- `Subject`: Email subject line (supports template variables)
- `HtmlBody`: HTML content of the template
- `TextBody`: Plain text fallback content
- `TemplateType`: 'Standard' or 'Layout'

**Pitfalls**:
- Template IDs are numeric integers, not strings
- Editing a template replaces the entire content; include all fields you want to keep
- Layout templates wrap Standard templates; changing a layout affects all linked templates
- Validate before sending to catch missing variables early

### 3. Monitor Delivery Statistics

**When to use**: User wants to check email delivery health, open/click rates, or outbound overview

**Tool sequence**:
1. `POSTMARK_GET_DELIVERY_STATS` - Get bounce counts by type [Required]
2. `POSTMARK_GET_OUTBOUND_OVERVIEW` - Get sent/opened/clicked/bounced summary [Required]
3. `POSTMARK_GET_TRACKED_EMAIL_COUNTS` - Get tracked email volume over time [Optional]

**Key parameters**:
- `fromdate`: Start date for filtering stats (YYYY-MM-DD)
- `todate`: End date for filtering stats (YYYY-MM-DD)
- `tag`: Filter stats by message tag
- `messagestreamid`: Filter by message stream (e.g., 'outbound', 'broadcast')

**Pitfalls**:
- Date parameters use YYYY-MM-DD format without time component
- Stats are aggregated; individual message tracking requires separate API calls
- `messagestreamid` defaults to all streams if not specified

### 4. Manage Bounces and Complaints

**When to use**: User wants to review bounced emails or spam complaints

**Tool sequence**:
1. `POSTMARK_GET_BOUNCES` - List bounced messages with details [Required]
2. `POSTMARK_GET_SPAM_COMPLAINTS` - List spam complaint records [Optional]
3. `POSTMARK_GET_DELIVERY_STATS` - Get bounce summary counts [Optional]

**Key parameters**:
- `count`: Number of records to return per page
- `offset`: Pagination offset for results
- `type`: Bounce type filter (e.g., 'HardBounce', 'SoftBounce', 'SpamNotification')
- `fromdate`/`todate`: Date range filters
- `emailFilter`: Filter by recipient email address

**Pitfalls**:
- Bounce types include: HardBounce, SoftBounce, SpamNotification, SpamComplaint, Transient, and others
- Hard bounces indicate permanent delivery failures; these addresses should be removed
- Spam complaints affect sender reputation; monitor regularly
- Pagination uses `count` and `offset`, not page tokens

### 5. Configure Server Settings

**When to use**: User wants to view or modify Postmark server configuration

**Tool sequence**:
1. `POSTMARK_GET_SERVER` - Retrieve current server settings [Required]
2. `POSTMARK_EDIT_SERVER` - Update server configuration [Optional]

**Key parameters**:
- `Name`: Server display name
- `SmtpApiActivated`: Enable/disable SMTP API access
- `BounceHookUrl`: Webhook URL for bounce notifications
- `InboundHookUrl`: Webhook URL for inbound email processing
- `TrackOpens`: Enable/disable open tracking
- `TrackLinks`: Link tracking mode ('None', 'HtmlAndText', 'HtmlOnly', 'TextOnly')

**Pitfalls**:
- Server edits affect all messages sent through that server
- Webhook URLs must be publicly accessible HTTPS endpoints
- Changing `SmtpApiActivated` affects SMTP relay access immediately
- Track settings apply to future messages only, not retroactively

## Common Patterns

### Template Variable Resolution

```
1. Call POSTMARK_GET_TEMPLATE with TemplateId
2. Inspect HtmlBody/TextBody for {{variable}} placeholders
3. Build TemplateModel dict with matching keys
4. Call POSTMARK_VALIDATE_TEMPLATE to verify rendering
```

### Pagination

- Set `count` for results per page (varies by endpoint)
- Use `offset` to skip previously fetched results
- Increment offset by count each page until results returned < count
- Total records may be returned in response metadata

## Known Pitfalls

**Authentication**:
- Postmark uses server-level API tokens, not account-level
- Each server has its own token; ensure correct server context
- Sender addresses must be verified Sender Signatures or from verified domains

**Rate Limits**:
- Batch send limited to 500 messages per call
- API rate limits vary by endpoint; implement backoff on 429 responses

**Response Parsing**:
- Response data may be nested under `data` or `data.data`
- Parse defensively with fallback patterns
- Template IDs are always numeric integers

## Quick Reference

| Task | Tool Slug | Key Params |
|------|-----------|------------|
| Send batch templated emails | POSTMARK_SEND_BATCH_WITH_TEMPLATES | Messages, TemplateId/TemplateAlias |
| List templates | POSTMARK_LIST_TEMPLATES | Count, Offset, TemplateType |
| Get template details | POSTMARK_GET_TEMPLATE | TemplateId |
| Edit template | POSTMARK_EDIT_TEMPLATE | TemplateId, Name, Subject, HtmlBody |
| Validate template | POSTMARK_VALIDATE_TEMPLATE | TemplateId, TemplateModel |
| Delivery stats | POSTMARK_GET_DELIVERY_STATS | (none or date filters) |
| Outbound overview | POSTMARK_GET_OUTBOUND_OVERVIEW | fromdate, todate, tag |
| Get bounces | POSTMARK_GET_BOUNCES | count, offset, type, emailFilter |
| Get spam complaints | POSTMARK_GET_SPAM_COMPLAINTS | count, offset, fromdate, todate |
| Tracked email counts | POSTMARK_GET_TRACKED_EMAIL_COUNTS | fromdate, todate, tag |
| Get server config | POSTMARK_GET_SERVER | (none) |
| Edit server config | POSTMARK_EDIT_SERVER | Name, TrackOpens, TrackLinks |

---
*Powered by [Composio](https://composio.dev)*

© davepoon · MIT · davepoon/buildwithclaude

Похожие скиллы

Все скиллы по теме «Автоматизация и no-code: n8n, Zapier, Make» →
postmark postmark Скилл-маршрутизатор по Postmark: подсказывает агенту, какой под-скилл взять для отправки писем, входящих, шаблонов и вебхуков. CX Codex +1 816установок postmark-webhooks hookdeck Скилл postmark-webhooks для Claude Code помогает принимать и обрабатывать вебхуки Postmark. Настраивает обработку доставок, кликов, открытий, жалоб на спам и входящих сообщений. CX Codex +1 203установок customware-email customware-ai Скилл customware-email для Claude Code добавляет в приложение на React Router и Hono приём писем через Postmark и отправку через его HTTPS API. Принимает письма клиентов и отправляет им сообщения. CX Codex +1 176установок outlook-calendar-automation sickn33 Скилл outlook-calendar-automation даёт агенту доступ к календарю Outlook через Rube MCP: создавать встречи, искать свободные окна, править и отменять события. CX Codex +1 967установок facebook-automation aAAaqwq Скилл facebook-automation управляет страницами, публикациями, комментариями, аналитикой и рекламными аккаунтами Facebook через Rube MCP. CX Codex +1 106установок github-automation davila7 Скилл github-automation для Claude, который проводит операции GitHub через Rube MCP: issues, пул-реквесты, ветки, поиск по коду и CI/CD. CX Codex +1 63установок

Из того же набора235

Весь набор →
freshservice-automation Скилл freshservice-automation автоматизирует работу с заявками Freshservice через Rube MCP: поиск, создание, массовое обновление и отправка уведомлений. CX Codex +1 121установок stripe-automation Скилл stripe-automation управляет платежами, подписками, счетами и возвратами в Stripe через шлюз Rube MCP прямо из чата с агентом. CX Codex +1 120установок mixpanel-automation Скилл mixpanel-automation автоматизирует работу с Mixpanel: собирает события, строит воронки, запрашивает профили пользователей и когорты. Работает через Rube MCP (Composio) — нужна активная подписка на Mixpanel. CX Codex +1 120установок coda-automation Скилл coda-automation управляет документами, таблицами и правами в Coda через Rube MCP прямо из чата с агентом. CX Codex +1 120установок square-automation Скилл square-automation для Claude Code автоматизирует работу с Square через Rube MCP: платежи, заказы, счета и локации. Управляет платежами и заказами из кода. CX Codex +1 119установок clawring Настраивает исходящие телефонные звонки от агента для срочных оповещений и сводок. Работает без аккаунта Twilio через сервис clawr.ing. CX Codex +1 112установок x-twitter-scraper Скилл x-twitter-scraper для извлечения данных из X (Twitter) через API Xquik: поиск твитов, профили, подписчики, тренды, мониторинг аккаунтов с вебхуками. 22 инструмента MCP. CX Codex +1 107установок recap Скилл recap для Claude Code и Cursor собирает финансовые итоги за выбранный период и строит текстовый обзор расходов и доходов. CX Codex +1 105установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой