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.
Install
logicpacks pack use email-marketing-public/cold-outreach-campaignget_pack email-marketing-public/cold-outreach-campaignThe 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
- Prepare
prospects.csvwith columnsemail,name,company,niche(one row per contact). Write one template per niche inemails/<niche>.md(first lineSubject: ..., then the body;{name}and{company}are filled). python3 code/campaign.py build --prospects prospects.csv --emails emails/writesoutbox.csvand prints a preview.- Get approval from the owner of the campaign (record who/when in
approvals.log). No approval line →sendrefuses. python3 code/campaign.py send --limit 10is a dry run; add--sendto actually send through the mail relay (apps-script-mail-relay pack).- 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.