Advertisement
✉️
Content

AI Cold Email Writer

Read a CSV of leads, generate personalized cold emails for each one using Claude AI. Export to CSV for mail merge, JSON, or individual text files ready to send. 100% free to run locally.

Download from GitHub

Free and open source. Works with any CSV - the more lead data you have, the better the personalization.

View on GitHub →

What it does

Reads any CSV with lead information (name, company, role, industry, etc.) and uses Claude AI to write a personalized cold email for each row. The AI references lead-specific details to avoid generic-sounding copy. Each email gets a compelling subject line and a single clear call to action.

Features

CSV format

name,company,role,industry,email
Sarah Chen,Acme Corp,Head of Marketing,SaaS,sarah@acme.com
John Smith,Beta Inc,Founder,E-commerce,john@beta.com

Quick start

git clone https://github.com/Get-Ai-Tools/cold-email-writer
cd cold-email-writer
pip install -r requirements.txt

# Generate emails for all leads
python writer.py --api-key sk-ant-... --leads leads.csv

# Friendly tone, goal: book a demo
python writer.py --api-key sk-ant-... --leads leads.csv \
  --product "ReportAI" --tone friendly --goal demo

# Export as individual .txt files
python writer.py --api-key sk-ant-... --leads leads.csv --output txt --out ./drafts

Requirements

How personalized are the emails?

The AI references every column in your CSV - name, company, role, industry, and any other fields you include. The more context in your lead data, the more specific and relevant each email will be.

How much does it cost per email?

Using claude-haiku, each email costs roughly $0.0002-$0.001. You can generate 1,000 personalized emails for under $1.