New
Apps 6,420Makers 6,399This week 12
Promote your app−30%
ShoutReach screenshot 1
0views in
the last 30 days

ShoutReach

Self-hosted cold email automation platform with SMTP/IMAP campaign management

Built with Claude Code

by sheham14 · Unclaimed · from CACanada · added Oct 29, 2026
no ratings0 comments

📬 ShoutReach — Outreach Engine

Find local businesses, then email them, call them, or message them on WhatsApp — from one place. Scrapes Google Maps for leads, runs cold email sequences with A/B variants and reply detection, gives you a call queue with a script and dispositions, and drafts WhatsApp openers that you send yourself.

The channels share one answer: a lead who says no on the phone stops receiving emails, and an unsubscribe stops everything. Two people can use one install, each with their own leads, campaigns and messages — see Accounts and Users.

Self-hosted. No per-seat SaaS fees. Runs on a small VM, or on your own machine.

How it's laid out. Contacts holds every business you have, with a Channels column showing where each one is — and an Unassigned view for the ones on no channel yet. Email, Calling and WhatsApp each have the same tabs: the work to do, every lead on that channel as a table, and its campaigns and copy. The Dashboard shows what's waiting on you across all three. See How it's organised.


Requirements

  • Python 3.9+
  • Any SMTP-capable email account (Gmail Workspace, Zoho, or your own SMTP server)

Quick Start

# 1. Install dependencies
pip install -r requirements.txt

# 2. Start the system
python app.py

# 3. Open your browser
# → http://localhost:5000

That's it. The database (outreach.db) is created automatically on first run.

The first time you open it there are no accounts yet, so the login page asks for a setup token — it's printed in the terminal where you started the app. Use it to create the first admin account.


First-Time Setup

Step 1: DNS Records (CRITICAL — do this before sending a single email)

Log into your domain registrar (Namecheap, GoDaddy, Cloudflare, etc.) and add these DNS records:

SPF record (TXT on your root domain or sending subdomain):

v=spf1 include:_spf.google.com ~all

(Replace the include value with your mail provider's SPF string)

DKIM record — generated by your mail provider (Gmail Workspace, Zoho, etc.) Your provider gives you a TXT record to add. Example format:

Name:  google._domainkey
Value: v=DKIM1; k=rsa; p=MIIBIjANBg...

DMARC record (TXT):

Name:  _dmarc
Value: v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

Start with p=none (monitor mode). After 2 weeks with clean data, upgrade to p=quarantine.

Verify your setup: → https://mxtoolbox.com/spf.aspx → https://mxtoolbox.com/dkim.aspx → https://mxtoolbox.com/dmarc.aspx

All three must show green before you send.


Step 2: Configure SMTP

Open Settings in the dashboard and enter your SMTP credentials.

Gmail Workspace (recommended):

  • Host: smtp.gmail.com
  • Port: 587
  • Username: you@yourdomain.com
  • Password: Generate an App Password at myaccount.google.com → Security → App Passwords (2FA must be enabled first)

Zoho Mail (good budget option):

  • Host: smtp.zoho.com
  • Port: 587
  • Username: you@yourdomain.com
  • Password: your Zoho account password

Your own SMTP/Postfix: enter your server's SMTP details.

Test the connection using the "Test Connection" button in Settings.


Step 3: Configure IMAP (reply detection)

This is optional but strongly recommended — it stops sequences automatically when someone replies.

Gmail:

  • Host: imap.gmail.com
  • Username: same as SMTP
  • Password: same App Password as SMTP

Enable IMAP in Gmail settings: Settings → See all settings → Forwarding and POP/IMAP → Enable IMAP.


Domain Warmup Guide

Never start sending 50/day on day 1. This will get your domain blacklisted.

Follow this schedule strictly:

Week Daily Limit What to do
Week 1 10–20 Set campaign limit to 15. Send only.
Week 2 20–40 Increase to 30 if bounce rate < 2%
Week 3 40–60 Increase to 50 if bounce rate still < 2%
Week 4 60–80 Increase to 70
Month 2 80–120 Healthy domain, can scale further
Month 3+ 120–200 Full speed, monitor weekly

Pause immediately if:

  • Bounce rate exceeds 5% (system does this automatically)
  • Reply rate drops below 0.5% (content problem)
  • You receive spam complaints

Building Your First Campaign

0. Get leads — scrape or import

Scrapes Google Maps for a niche in a city. Each scrape sends its leads to one place:

  • Email — visits each business website and pulls out an email address. Addresses land on Email; businesses with none found wait in Contacts → Unassigned.
  • Calling — skips the websites entirely, which makes it much faster, and uses the phone number from the listing. Leads land on Calling, optionally in a call campaign, and nowhere else.
  • WhatsApp — also phone-only. Pick the country the numbers are in (any country — type to search) and the WhatsApp campaign they go into; each lead arrives ready to send, its message written from that campaign's template.

Your scrapes, under the scraper, lists every past scrape. Add all to… sends everything one found to a channel and campaign in one go — useful for a scrape run for another channel, or before the campaign existed. Contacts has the same button when you pick a list.

The scraper does not run on the server. Google serves CAPTCHAs that a human has to see and solve, so the browser has to open on a screen you are actually looking at. A headless VM cannot do that. Instead:

  • ShoutReach (wherever it is hosted) owns the queue, the contacts and the campaigns.
  • A worker on your own machine claims jobs and drives Chrome locally.

Each account has its own worker key, and a worker only ever runs the scrapes started by the account whose key it holds. Two people can each run a worker on their own machine and scrape at the same time without picking up each other's jobs — one scrape at a time per account.

One-time setup on your machine:

pip install -r requirements-worker.txt
playwright install chromium        # separate step — pip does not fetch the browser

First run, give it the server URL and key once — get the key from Settings → My settings → Your scrape worker key → Copy, signed in as the person whose scrapes this machine should run:

python scraper_worker.py --server https://your-shoutreach-host --api-key your-key-here

That saves both into .worker_config.json next to scraper_worker.py (git-ignored — it holds a live credential, so it never gets committed). Every run after that, just:

python scraper_worker.py           # leave it running

No environment variables to re-set per terminal session. If you rotate your key in Settings, run python scraper_worker.py --forget to clear the saved one, then pass --api-key again once. Rotating only affects your own worker.

You can still use environment variables or --server/--api-key instead — they take priority over what's saved, in case you're pointing at a different server for one run:

# PowerShell — quotes required
$env:SHOUTREACH_URL = "https://your-shoutreach-host"
$env:SHOUTREACH_API_KEY = "your-key-here"
:: cmd.exe — do NOT quote; cmd stores the quotes as part of the value
set SHOUTREACH_URL=https://your-shoutreach-host
set SHOUTREACH_API_KEY=your-key-here
# macOS / Linux
export SHOUTREACH_URL=https://your-shoutreach-host
export SHOUTREACH_API_KEY=your-key-here

Then open Get leads in the web UI. The banner turns green when the worker connects. Enter a niche and city, press Start, and Chrome opens on your machine while progress streams back to the page — Google Maps scrolling included, not just the email-scraping step. If a CAPTCHA appears, solve it in that Chrome window and click Resume in the UI.

On an email scrape, leads with an email are imported to Email automatically. Businesses with a site but no findable address, and businesses with no website at all, are kept in Contacts under Unassigned — for a web-design offer, those are the strongest leads on the list, and one click puts them on Calling or WhatsApp. Phone, category, rating and review count come along too — enough to qualify a list before spending a single send on it.

Duplicate protection is on by default: one address per business is enrollable (personal beats info@ beats billing@), and a contact already in one campaign will not be enrolled in a second.

Lead lists. Every lead remembers which scrape found it, so every leads table has a list filter — "dentists — Toronto Canada · Aug 4", "plumbers — Calgary Canada · Aug 6", plus a bucket for anything added by hand or CSV. It is a filter over one shared table, not separate tables per scrape, and that is deliberate: deduplication, unsubscribes and bounce suppression all have to apply across every list at once. Split the leads into per-scrape tables and the same business found under two searches becomes two enrollable contacts — two cold emails to one business, which is exactly what the duplicate protection above exists to prevent.

Filtering, searching, sorting and paging all run in SQL against the whole table, so a filtered list reports the real total rather than whatever fitted in the first page. Select-all ticks the current page; when more rows match, a "Select all N matching this filter" link appears, so a bulk delete can never quietly reach further than what you asked for.

Output CSVs land in scraper_output/, and saved browser cookies in cookies/ — both git-ignored, both inside the project folder rather than scattered loose at the root.

You can also run a scrape without the web UI:

python gmaps_email_scraper.py --niche "HVAC" --city "Calgary Canada" --max 40

1. Import Contacts

Go to Get leads → Import a file or paste (Email and Contacts' ⬆ Import buttons open it too)

CSV format:

email,first_name,last_name,company
drsmith@dentistrytx.com,John,Smith,Smith Family Dental
office@wellnessclinic.com,Sarah,Jones,Wellness Clinic

Or paste raw emails (one per line) for quick imports.

2. Create a Campaign

Click Email → + New campaign

Settings to configure:

  • Daily Limit — how many emails to send per day (follow warmup schedule above)

  • Send Window — hours during which emails go out (e.g. 9–17), interpreted in the campaign's timezone

  • Sending Days — which weekdays this campaign may send on. Defaults to Mon–Fri, with one-click presets for Sun–Thu (the working week across much of the Middle East) and Every day. Set it to the working week of the people you are mailing, not your own — a campaign aimed at Dubai from Toronto still wants Sun–Thu.

    A follow-up that falls due on a non-sending day is not dropped, it waits for the next one. The campaign page says which state it is in — "Outside the send window. Sends on Sun, Mon, Tue, Wed, Thu, 09:00–17:00 Asia/Dubai — next opens Sun 09 Aug, 09:00." — so a "next send" timestamp sitting in the past reads as the weekend rather than as a broken scheduler.

  • Min/Max Delay — random seconds between sends (45–120 recommended)

3. Add Sequence Steps

Step 1 (Day 0 — sends immediately when enrolled):

Subject: Quick question about {{company}}

Hi {{first_name}},

I came across {{company}} and wanted to reach out about [your offer].

[2-3 sentences max. Short wins.]

Worth a quick chat?

[Your name]

Step 2 (3 days after Step 1):

Subject: Re: Quick question about {{company}}

Hi {{first_name}},

Just wanted to follow up on my message from a few days ago.

[One sentence reiterating value.]

Do you have 15 minutes this week?

[Your name]

Step 3 (7 days after Step 2):

Subject: Last follow-up

Hi {{first_name}},

I don't want to be a bother — this will be my last message.

If you're ever interested in [offer], I'm happy to chat.

[Your name]

3a. Variables and Fallbacks

Write {{first_name}} anywhere in a subject or body. Three sources resolve, highest priority first:

  1. Contact fields — {{first_name}} {{last_name}} {{full_name}} {{company}} {{email}} {{phone}} {{website}} {{category}} {{rating}} {{review_count}} {{address}}
  2. Custom fields on the contact — any non-standard CSV column, e.g. {{job_title}}
  3. Campaign variables — Campaign → ⚙ Settings → + Add Variable, for things that vary per campaign rather than per contact, e.g. {{location}}

Scraped leads have no personal name. Google Maps lists businesses, not people, so a scraped contact has {{company}}, {{phone}} and the rest but {{first_name}} and {{last_name}} are empty — that is the dash in the Name column. Build the copy around {{company}}.

Fallbacks. Scraped lists usually have a company but no first name, and Hi , is worse than no personalisation at all. Anything after a pipe is used when the value is missing or blank:

Hi {{first_name|there}},

I came across {{company|your practice}} and wanted to reach out.

A contact with a name gets "Hi Sarah,"; one without gets "Hi there,". Works on every variable, from any of the three sources.

A placeholder with no value and no fallback resolves to nothing rather than shipping raw {{braces}} to the prospect — so a typo leaves a gap instead of an obvious mistake. Preview before activating.

Which variables are worth using depends on the list. The step editor's ⊞ Insert variable panel counts how many of the contacts enrolled in this campaign actually have each field:

{{company}}       Company / business name     12 of 12   all have this
{{phone}}         Phone number                 9 of 12   needs a fallback
{{first_name}}    First name                   0 of 12   none have this

Clicking one inserts it at your cursor, with a fallback already filled in when there are gaps. If you save a step that uses a variable with gaps and no fallback, it says so and asks before saving — that check runs on the copy itself, so it catches variables typed by hand too.

3b. A/B Testing a Step (optional)

Each step starts with one email that goes to everyone. Press + Add Variant and the copy you have already written becomes Variant A, with an empty Variant B beside it — so the editor always shows exactly as many boxes as there are versions actually being sent. Delete back down to one and it folds back into the plain editor.

Weights set the split. A contact is assigned one variant when they are enrolled and keeps it for the whole sequence, so you are testing two sequences rather than re-rolling at every step. A step that does not define the contact's variant just sends its own copy, which means a later step can be tested on its own without duplicating the earlier ones.

Contacts enrolled before you set the variants up have no assignment. They are filled in — weighted, not all dumped into A — when you press Activate, with one exception: anyone who has already been sent something keeps what they have, since switching arms mid-thread would change the pitch halfway through a conversation.

Each contact's assigned variant shows in the campaign's contact table, and Variant Stats on the campaign breaks down sent/replied/bounced per arm.

Expect to need a few hundred sends per arm before a difference means anything — at a 1–3% reply rate, early results are mostly noise.

4. Enroll Contacts

In the campaign detail view, click Enroll and select your contacts — or tick addresses in Email → Leads (or businesses in Contacts) and choose Enroll in campaign.

5. Activate

Click ▶ Activate. The scheduler takes over.


Calling

A working queue, not a CRM screen. You dial on your own phone; this is the notebook beside it.

Who's on it. A lead is on Calling because you put it there — from a Calling scrape, + Add leads, Contacts, or WhatsApp's "Move off WhatsApp → Calling". Scraping for Email or WhatsApp no longer fills the call list on the side. The Leads tab shows everyone on Calling as a table, closed-out leads included; Take off Calling removes a lead from every queue and campaign but keeps its call history, and adding it back brings that history with it.

The buckets (on the To do tab). Due now is callbacks you promised, oldest first. Never called is the fresh pile. Scheduled is everything booked for later. Leads without a phone number never appear, and a finished lead never reappears.

The loop. Opening the section drops you straight into the first lead. Write notes, pick an outcome, press Save & next lead — you stay in the queue rather than returning to a table between calls.

Outcomes are a state machine, not free text:

Outcome Effect
No answer / Left voicemail Stays in the queue, attempt count goes up
Callback booked / Interested / Proposal sent Requires a date, returns to Due now then
Meeting booked Leaves the queue, keeps the meeting time, goes on your Zoho Calendar if connected
Not interested / Wrong number / Do not call Terminal — and stops any email sequence

That last row is the point of keeping both channels in one tool. Saying "not interested" on the phone has to stop the emails, or the scheduler sends a cheerful follow-up two days later. Do not call goes further and unsubscribes the contact outright, because the request is about being contacted, not about the telephone.

The script lives on the right, in sections you name yourself — the app ships them empty on purpose. Write {{company}} or {{first_name|there}} and they are filled in for whoever is on screen, using the same variable engine as the emails, so it reads "Hi, is this Paradise Dental?" rather than leaving you to substitute mid-sentence. Sections collapse individually so you can reach the right objection in a second.

Outcomes are editable. The nine built-in ones are a starting point, not the vocabulary — add your own under Script & outcomes. Each carries three switches: needs a date (required rather than merely allowed), ends the lead (drops it from every queue), and stops email. That first distinction matters: "Callback booked" demands a time, whereas something like "Follow up later" shouldn't invent a commitment nobody made, so a date stays optional on every outcome that isn't final. Built-ins can be renamed and recoloured but keep their behaviour; custom ones that have already been used are archived rather than deleted, so old call history stays readable.

Adding leads: + Add leads — pick from businesses you already have (not on Calling yet on by default), type a few in as name, phone, website, or import a CSV — optionally straight into a campaign. From Contacts or the Leads tab, tick rows and use + Calling or Add to campaign.

Campaigns group leads by a decision — "ten dental clinics in St John's" — as opposed to a lead list, which groups by whenever the scrape happened to run. The Campaigns tab shows what's left, what's due, and what's booked per campaign; Work it scopes the To do queue to that batch. A lead can be in more than one. Deleting a campaign removes only the grouping — the leads and their call history stay on Calling.

A closed-out lead doesn't disappear. Terminal outcomes drop a lead from every calling queue, which is the point, but it stays in the Closed out bucket, where ↩ Reopen puts one back if you marked it wrongly, and in the Leads tab. Note that Not interested leaves the contact otherwise untouched, while Do not call also marks them unsubscribed.

Prior contact is shown, never used to hide a lead. A lead you

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#email · #outreach