跳到正文
cccskills
免费在 GitHub 公开

postmark-automation

Send batches of template-based emails through Postmark, edit templates, and check their content before sending. Review delivery, open, and click statistics, investigate failed deliveries and spam complaints, and manage server settings through Rube MCP.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

查看安装方法

适用场景

  • Send template-based emails to multiple recipients
  • Edit and validate email templates
  • Review delivery, open, and click statistics
  • Investigate failed deliveries and spam complaints

包含的文件(1)

  • SKILL.md7.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Postmark Automation via Rube MCP

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

Toolkit docs: 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

TaskTool SlugKey Params
Send batch templated emailsPOSTMARK_SEND_BATCH_WITH_TEMPLATESMessages, TemplateId/TemplateAlias
List templatesPOSTMARK_LIST_TEMPLATESCount, Offset, TemplateType
Get template detailsPOSTMARK_GET_TEMPLATETemplateId
Edit templatePOSTMARK_EDIT_TEMPLATETemplateId, Name, Subject, HtmlBody
Validate templatePOSTMARK_VALIDATE_TEMPLATETemplateId, TemplateModel
Delivery statsPOSTMARK_GET_DELIVERY_STATS(none or date filters)
Outbound overviewPOSTMARK_GET_OUTBOUND_OVERVIEWfromdate, todate, tag
Get bouncesPOSTMARK_GET_BOUNCEScount, offset, type, emailFilter
Get spam complaintsPOSTMARK_GET_SPAM_COMPLAINTScount, offset, fromdate, todate
Tracked email countsPOSTMARK_GET_TRACKED_EMAIL_COUNTSfromdate, todate, tag
Get server configPOSTMARK_GET_SERVER(none)
Edit server configPOSTMARK_EDIT_SERVERName, TrackOpens, TrackLinks

Powered by Composio

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Handle ActiveCampaign contact and marketing tasks through Rube MCP, a connection for agent tools. Find or create contacts, manage tags and subscriptions, enroll contacts in existing automated workflows, and create follow-up tasks.

中文简介正在准备中。当前显示英语简介。

  • Finding or registering contacts
  • Adding or removing contact tags
  • Subscribing contacts to lists or unsubscribing them
davepoon/buildwithclaude36702026年10月20日 更新

Research competitors’ live Meta and Google ads to identify opening hooks, offers, calls to action, and landing pages. Receive a sourced creative brief and up to three test ideas adapted to your product.

中文简介正在准备中。当前显示英语简介。

  • Find angles for new ad copy
  • Plan creative tests using competitor ads
  • Choose a landing page message
davepoon/buildwithclaude36702026年10月20日 更新

Add website or app tracking, then use command-line tools to review traffic, signups, drop-off, and returning users across projects. Run A/B tests, which compare alternative headlines or buttons, and inspect results to guide changes.

中文简介正在准备中。当前显示英语简介。

  • Adding page-view and key-action tracking
  • Reviewing traffic and referral sources across projects
  • Finding where visitors drop out before signup or purchase
davepoon/buildwithclaude36702026年10月20日 更新

Establish rules for when an AI agent should recall past context and save lasting decisions, corrections, preferences, and failures. Works with Markdown files or memory services, preserving decision history and surfacing conflicting records.

中文简介正在准备中。当前显示英语简介。

  • Carry project conventions into the next session
  • Save user corrections and lasting preferences
  • Record failed approaches and their causes
davepoon/buildwithclaude36702026年10月20日 更新

Audit local AI coding-agent sessions with agenttrace to identify spending, token use, tool failures, and operational problems. Produce readable or structured reports and define pass-or-fail thresholds for automated continuous integration checks.

中文简介正在准备中。当前显示英语简介。

  • Investigating session costs and token waste
  • Finding repeated tool failures and retries
  • Exporting session reports as Markdown or JSON
davepoon/buildwithclaude36702026年10月20日 更新

Audit saved agent sessions for access to private files and evidence that secret values entered an agent's context. Get findings without displaying secrets, identify keys needing rotation, and inspect Claude Code or Codex sessions in a local report.

中文简介正在准备中。当前显示英语简介。

  • Check whether an agent accessed .env files
  • Identify keys that may need rotation
  • Audit private-file access by subagents
davepoon/buildwithclaude36702026年10月20日 更新

查看 davepoon 的全部技能

报告此技能的问题