跳到正文
Skillpedia
自动化48k · #5479

postmark-automation

它能做什么

这个智能体可以帮你使用 Postmark 发送和管理邮件。你可以用预先设置好的模板发送邮件,创建或修改这些模板,还可以检查邮件是否成功送达,或是否出现了问题。

适用场景

  • ✓同时给很多客户发送个性化邮件。
  • ✓创建或更新用于通知的邮件模板。
  • ✓检查某封邮件为什么没有送达。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/postmark-automation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/postmark-automation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“使用 'welcome_email' 模板,给 john@example.com 和 jane@example.com 发送欢迎邮件,姓名分别填写 'John' 和 'Jane'。”

每周 5 个新技能,1 分钟读完。

工作原理

它会连接到 Postmark,并通过特定命令执行操作,比如基于模板发送邮件,或查看送达统计数据。它会先检查有哪些可用的模板,然后结合你提供的信息发送邮件。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Postmark Automation via Rube MCP

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

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

…

常见问题

一次最多能发送多少封邮件?

使用模板批量发送时,单次最多可以发送 500 封邮件。

智能体怎么知道要在邮件里填什么内容?

你需要以“模型”(model)的格式提供信息,比如姓名、日期等,智能体会把这些内容填入邮件模板的对应位置。

如果邮件没有送达,会怎样?

智能体可以查出送达失败的原因,比如邮箱地址无效(硬退信),或收件人投诉为垃圾邮件,方便你针对问题进行修正。

详情

作者的原始描述

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.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5479
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能