Building an Autonomous Cold Outreach Pipeline in Python: Zero-Cost SMTP Handshakes and Structured LLM Hooks
Описание и применение
Автономный пайплайн холодных рассылок на Python, использующий асинхронные SMTP‑handshake‑ы и структурированные LLM‑хуки, снижает затраты до $0,001–$0,003 за лид.
Задача
Outbound sales pipelines often fail due to deliverability issues and generic personalization, leading to high bounce rates and spam filtering.
Результат
The pipeline achieves near‑zero verification cost, eliminates token waste, and produces structured personalization hooks, enabling scalable cold outreach.
Рабочий процесс
- Stage 1: Resolve MX records with aiodns and perform async SMTP HELO/MAIL/RCPT handshake to test deliverability.
- Stage 2: Ingest domain content using headless HTTP extraction, TLS fingerprint rotation, and readability‑based HTML‑to‑Markdown conversion.
- Stage 3: Feed cleaned context to an LLM via instructor and Pydantic schemas, producing structured output (company focus, value prop, hook).
- Stage 4: Store results in SQLite WAL cache and trigger CRM webhook.
Доказательства
Instead of paying per-request verification fees, we perform direct asynchronous MX lookups followed by an interactive SMTP transaction (HELO, MAIL FROM, RCPT TO).
It verifies inboxes down to the MX server via raw SMTP handshakes (at zero API cost).
- Дата записи: 2026-10-01T19:56:18.340Z