Cold Email Engine
by @merjua14
Automated cold email outreach system with lead enrichment, personalized templates, drip sequences, and CAN-SPAM compliance. Use when building outbound sales...
clawhub install cold-email-engineπ About This Skill
name: cold-email-engine description: Automated cold email outreach system with lead enrichment, personalized templates, drip sequences, and CAN-SPAM compliance. Use when building outbound sales pipelines, prospecting businesses, automating email campaigns, enriching leads with contact info, setting up drip follow-ups, or managing cold outreach at scale. Supports Resend, SendGrid, or any SMTP provider.
Cold Email Engine
Automated outbound email pipeline: find leads β enrich contacts β send personalized emails β drip follow-ups.
Pipeline
1. Source leads β from CSV, Google Sheets, API scraping, or manual input 2. Enrich β find emails via website scraping, Hunter.io, or Apollo 3. Personalize β variable substitution in templates ({name}, {company}, {pain_point}) 4. Send β via Resend, SendGrid, or raw SMTP with rate limiting 5. Drip β automated follow-ups at day 3 and day 7 6. Track β log all sends, bounces, replies to CSV/Sheets
Requirements
RESEND_API_KEY), SendGrid, or SMTP credentialsQuick Start
# Set environment
export RESEND_API_KEY=your_keySend from CSV
node scripts/cold-email-engine.js --source leads.csv --template templates/default.txt --from "Name "Dry run (no emails sent)
node scripts/cold-email-engine.js --source leads.csv --template templates/default.txt --dry-runRun drip follow-ups
node scripts/cold-email-engine.js --drip --days 3
Configuration
Edit scripts/config.json:
maxPerDay: Daily send limit per domain (default: 25)delayBetweenMs: Delay between emails in ms (default: 3000)dripDays: Follow-up schedule [3, 7] days after initial sendsuppressionFile: Path to suppression/unsubscribe listtrackingFile: Path to send logTemplates
Templates use {variable} syntax. Available variables:
{first_name}, {last_name}, {email}{company}, {website}, {city}, {state}{pain_point} β auto-generated from website analysis{sender_name}, {sender_title}Template Example
Subject: {company} β quick questionHi {first_name},
I noticed {company} {pain_point}. We help businesses like yours
fix that in under a week.
Would it make sense to chat for 10 minutes this week?
{sender_name}
{sender_title}
Compliance
Scripts
scripts/cold-email-engine.js β Main send enginescripts/enrich-leads.js β Email finder from websites/domainsscripts/config.json β ConfigurationReferences
references/deliverability.md for domain warmup and inbox placementreferences/templates.md for proven email templates by industryπ‘ Examples
# Set environment
export RESEND_API_KEY=your_keySend from CSV
node scripts/cold-email-engine.js --source leads.csv --template templates/default.txt --from "Name "Dry run (no emails sent)
node scripts/cold-email-engine.js --source leads.csv --template templates/default.txt --dry-runRun drip follow-ups
node scripts/cold-email-engine.js --drip --days 3
βοΈ Configuration
Edit scripts/config.json:
maxPerDay: Daily send limit per domain (default: 25)delayBetweenMs: Delay between emails in ms (default: 3000)dripDays: Follow-up schedule [3, 7] days after initial sendsuppressionFile: Path to suppression/unsubscribe listtrackingFile: Path to send log