Postmark automation

From aAAaqwq/AGI-Super-Team · View interactive version

Postmark automation is an AI agent skill from the GitHub repository aAAaqwq/AGI-Super-Team. 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.

How to use this skill

Skill file

Postmark Automation via Rube MCP

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

Prerequisites

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:

Pitfalls:

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:

Pitfalls:

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:

Pitfalls:

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:

Pitfalls:

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:

Pitfalls:

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

Known Pitfalls

Authentication:

Rate Limits:

Response Parsing:

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 |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.