Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Building an Autonomous Cold Outreach Pipeline in Python: Zero-Cost SMTP Handshakes and Structured LLM Hooks

Description and use

An autonomous cold outreach pipeline in Python that uses async SMTP handshakes and structured LLM hooks, cutting costs to $0.001–$0.003 per lead.

Problem

Outbound sales pipelines often fail due to deliverability issues and generic personalization, leading to high bounce rates and spam filtering.

Outcome

The pipeline achieves near‑zero verification cost, eliminates token waste, and produces structured personalization hooks, enabling scalable cold outreach.

Workflow

  • 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.

Evidence

Instead of paying per-request verification fees, we perform direct asynchronous MX lookups followed by an interactive SMTP transaction (HELO, MAIL FROM, RCPT TO).

Source

It verifies inboxes down to the MX server via raw SMTP handshakes (at zero API cost).

Source

  • Record date: 2026-10-01T19:56:18.340Z