Skip to main content

create-email-campaign

Create and send an email campaign Arguments: <subject> [--addressbook <id>] [--sender <email>] [--template <id>].

Source facts

Repository
Agents-Store/codex-plugins
Last source activity
November 1, 2026 at 02:46
Detected SKILL.md language
English
Stars
0
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
create-email-campaign
description
Create and send an email campaign Arguments: <subject> [--addressbook <id>] [--sender <email>] [--template <id>].
# Create Email Campaign Create and send an email campaign with pre-flight checks. Method and rules: the `sendpulse-ops:email-campaigns-templates` skill. ## Arguments Format: `<subject> [--addressbook <id>] [--sender <email>] [--template <id>]` - subject: Email subject line - --addressbook: Target addressbook ID (optional — lists if omitted) - --sender: Sender email address (optional — lists if omitted) - --template: Template ID (optional — lists if omitted) Parse from "$ARGUMENTS". ## Process 1. **Check balance:** ``` email_balance_show() ``` Verify sufficient credits. 2. **List addressbooks if not specified:** ``` email_addressbooks_list() ``` Ask user to select target list. 3. **Check sending cost:** ``` email_addressbooks_cost(id=<addressbook-id>) ``` Confirm cost fits within balance. 4. **List senders if not specified:** ``` email_senders_list() ``` Ask user to select verified sender. 5. **List templates if not specified:** ``` email_templates_list() ``` Ask user to select template. 6. **Create campaign:** ``` email_campaigns_create( name=<subject>, subject=<subject>, sender_email=<sender>, addressbook_id=<addressbook-id>, template_id=<template-id> ) ``` 7. **Report result:** - Campaign ID - Target audience size - Estimated cost - Sender and template used ## Example Usage ``` /create-email-campaign "March Newsletter" --addressbook list_001 --sender news@acme.com --template tmpl_monthly /create-email-campaign "Product Launch Announcement" ``` ## Notes - Always checks balance before creating - Shows cost estimate before sending - If sender is not verified, warns the user - Campaign is sent immediately unless send_date is specified
View on GitHub