No-Website Outreach Pipeline
A command-line tool that finds local businesses without a website and drafts an email to them. The legal checks sit in front of the send button.
Sending the wrong email is not a bug, it is a legal problem. So sending does nothing by default, and a message that fails a check never reaches the mail server at all.
Facts
- Four steps that each run on their own, so you can look at what came out of one before running the next
- Searches Google Places for businesses that have a phone number but no website
- Writes a first draft of each email with Claude, personalised to the business
- Sending is a rehearsal by default. It prints what it would send and stops
- Every email must carry a postal address and a working unsubscribe link, or it is rejected before it gets anywhere near the mail server
- A subject line that does not match the body is rejected too
- It warns you in plain terms that European rules need a lawyer's sign-off before any of this goes near a real inbox
- The tests run with no internet connection at all
Stack
- Python
- Google Places API (New)
- Claude API
- SMTP
The interesting part is not the drafting. It is that the send step is a rehearsal unless you tell it otherwise, and that a message failing a compliance check never reaches the transport at all. It is refused earlier than that, where refusing is cheap and nobody has received anything.