Skip to content

Packs / email-marketing-public

cold-outreach-campaign

Small, honest cold-email campaign: prospects CSV -> per-niche drafts -> approval gate -> capped daily sends with opt-out, suppression and a send log. Dry-run by default.

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-email-marketing-public

Install

logicpacks pack use email-marketing-public/cold-outreach-campaign
get_pack email-marketing-public/cold-outreach-campaign

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

  • MAIL_RELAY_URL
  • MAIL_RELAY_API_KEY

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: own-smtp-listmonkapps-script-relaypaid-esp
  • Checks: 3 in outcome/checks.yaml
  • Code: campaign.py
  • Tools: python3

Usage, last 8 weeks

New: no recorded use yet.

Purpose (from spec/SPEC.md)

Goal

Send a small personalised campaign (10-50/day) to a prospects CSV without spamming: every mail has an opt-out line, replies/STOP are suppressed, nobody is mailed twice, and nothing goes out before a logged approval.

Steps

  1. Prepare prospects.csv with columns email,name,company,niche (one row per contact). Write one template per niche in emails/<niche>.md (first line Subject: ..., then the body; {name} and {company} are filled).
  2. python3 code/campaign.py build --prospects prospects.csv --emails emails/ writes outbox.csv and prints a preview.
  3. Get approval from the owner of the campaign (record who/when in approvals.log). No approval line → send refuses.
  4. python3 code/campaign.py send --limit 10 is a dry run; add --send to actually send through the mail relay (apps-script-mail-relay pack).
  5. Add bounces, replies and STOPs to suppress.txt; re-run daily within the cap.

Edge cases

  • Gmail consumer quota is ~100/day: keep campaigns at 10-50/day and warm up.
  • One clear call to action per mail; vertical/niche emails outperform a blast.
  • Link scanners click links in seconds from datacenter cities: don't count those as interest.

Don'ts

  • Never send without a logged approval; never exceed the daily cap.
  • Never make false claims about location, clients or size. Say only what is true.
  • Never mail anyone in suppress.txt or anyone already in sent.csv.