Cold Email Outreach — Automated Prospecting & Drip Pipeline
Build lists, enrich contacts, send personalized cold emails, follow up automatically.
Pipeline Overview
- 1. Source — Pull leads from government databases, web scraping, or CSV import
- Enrich — Find emails via website scraping, Google search, or enrichment APIs
- Personalize — Generate custom email copy per lead using templates + variables
- Send — Deliver via Resend API with rate limiting and domain rotation
- Follow Up — Automated drip sequences (Day 3, Day 7)
- Track — Log opens, replies, bounces to Google Sheets or CSV
Requirements
- - Resend API key —
RESEND_API_KEY (free tier: 100 emails/day) - Verified sending domain — SPF + DKIM + DMARC configured
- Google Sheets OAuth (optional) — for lead tracking
Quick Start
CODEBLOCK0
Email Templates
Templates use {variable} placeholders:
CODEBLOCK1
Available variables: {first_name}, {business_name}, {city}, {industry}, {specific_issue}, {sender_name}, INLINECODE8
Deliverability Rules
- - Max 25 emails per domain per day (cold outreach)
- Warm up new domains: start at 5/day, increase by 5 every 3 days
- Always include physical address (CAN-SPAM)
- Include unsubscribe mechanism
- Rotate sending domains if scaling past 50/day
- Remove bounced emails immediately
- Honor unsubscribes within 24 hours
Scripts
- -
scripts/send-campaign.js — Main campaign sender with rate limiting - INLINECODE10 — Drip follow-up sender
- INLINECODE11 — Email enrichment from websites
References
- -
references/templates.md — Proven email templates with open rates - INLINECODE13 — Domain setup and spam prevention guide
冷邮件外展 — 自动化客户开发与滴灌流程
构建名单、丰富联系人信息、发送个性化冷邮件、自动跟进。
流程概览
- 1. 数据源 — 从政府数据库、网页抓取或CSV导入获取潜在客户
- 信息丰富 — 通过网站抓取、谷歌搜索或信息丰富API查找邮箱地址
- 个性化 — 使用模板+变量为每位潜在客户生成定制邮件内容
- 发送 — 通过Resend API发送,含速率限制和域名轮换
- 跟进 — 自动滴灌序列(第3天、第7天)
- 追踪 — 将打开、回复、退信记录至Google Sheets或CSV
要求
- - Resend API密钥 — RESENDAPIKEY(免费版:每天100封邮件)
- 已验证的发件域名 — 已配置SPF + DKIM + DMARC
- Google Sheets OAuth(可选)— 用于潜在客户追踪
快速开始
bash
export RESENDAPIKEY=你的密钥
从CSV名单发送
node scripts/send-campaign.js --list leads.csv --template templates/intro.txt --from hello@yourdomain.com
试运行(不实际发送邮件)
node scripts/send-campaign.js --list leads.csv --template templates/intro.txt --dry-run
发送跟进邮件
node scripts/send-followups.js --campaign campaign-2026-03-12
邮件模板
模板使用{变量}占位符:
主题:{subject}
你好 {first_name},
{body}
此致,
{sender_name}
可用变量:{firstname}、{businessname}、{city}、{industry}、{specificissue}、{sendername}、{subject}
送达率规则
- - 每个域名每天最多25封邮件(冷外展)
- 预热新域名:从每天5封开始,每3天增加5封
- 始终包含实体地址(CAN-SPAM法案要求)
- 包含退订机制
- 如果每天发送超过50封,轮换发件域名
- 立即移除退信邮箱
- 24小时内处理退订请求
脚本
- - scripts/send-campaign.js — 主活动发送器,含速率限制
- scripts/send-followups.js — 滴灌跟进发送器
- scripts/enrich-list.js — 从网站丰富邮箱信息
参考
- - references/templates.md — 经过验证的邮件模板及打开率数据
- references/deliverability.md — 域名设置和垃圾邮件预防指南