Phase 2 part 5: find people and verify emails with Hunter.io

Review gets Find people (Domain Search by the departments, seniority and
count set in Settings → Lead sources), Find their email (Email Finder for
a named person at a company), and Verify (one, or every unchecked address
in New). Every call is kept in enrich_runs (schema 9) with its result and
credits, and shown on the card. Nothing runs on a schedule. Sources are
shown by name (Hunter.io, origami.chat, explee.com).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 05:53:52 -07:00
co-authored by Claude Opus 5.5
parent efca73bcd4
commit 82d569da9c
18 changed files with 1348 additions and 11 deletions
+12 -1
View File
@@ -588,7 +588,18 @@ data. Each becomes an adapter behind a `leadsource` interface.
running), and an every-7/14/30-days schedule. Not yet run against the
live API.
5. **Enrichment with Hunter**: the right people and verified emails at
accepted companies.
accepted companies. **Built 2026-11-22** (schema 9):
`internal/api/hunter` (Domain Search, Email Finder, Email Verifier with
its 202 polling, Account; credits read from `X-Credits-Used`),
`internal/enrich` (find people at a company's domain by the departments,
seniority and number chosen in Settings → Lead sources; find a named
person's address; verify addresses, singly or all unchecked ones in New,
stopping when the key, credits or rate limit give out), and
`enrich_runs`, which keeps every call with its result and credits. The
buttons are on Review, for new and accepted companies alike; people
found go to New under their company. Nothing runs on a schedule, since
every call spends credits. Credits are counted but not yet turned into
spend for CAC (Hunter.io bills by plan, not per credit).
6. **Direct outreach**: email through the Core's mail server (drafted,
reviewed, sent, replies read over IMAP) and LinkedIn by hand; each
outcome recorded in the funnel.