Skip to content
mpavlovicbbPublic

About

Cold outreach in a single Go binary. Automated follow-up sequences, hard daily caps, unbypassable suppression list, and a spam-complaint kill switch — SQLite storage, HTMX dashboard, no Docker, no tracking.

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

Frostbite ❄️

CI License: MIT Go

Self-hosted cold outreach in a single Go binary — built to refuse to let you spam.

Frostbite dashboard

Frostbite manages contacts, sends personalized plain-text (optionally branded HTML) emails via the SMTP2GO API, runs a 3-step follow-up sequence at a human pace, and serves a local web dashboard. One binary, one SQLite file, no Docker, no Node, no tracking pixels.

Why another outreach tool?

Most open-source email tools are newsletter platforms; the cold-outreach SaaS tools are subscription products that gate deliverability safety behind paid tiers. Frostbite's position: the safety rails are the product, and they are not optional —

  • Unbypassable suppression list — the check lives inside the send function, not the scheduler. Opt-outs, hard bounces, and unsubscribes are never emailed again, period.
  • Dry-run by default — nothing real goes out until required settings exist and you explicitly confirm a dialog that repeats your from-address, cap, and window back at you.
  • Hard daily cap (default 15, max 200) and randomized send gaps inside a configurable send window — no blasts, ever.
  • Spam complaint = automatic kill switch. One complaint stops all sending until you manually review.
  • Merge-field guards — a contact missing a field the template references is flagged for review, never sent a "Hi ," email.
  • No open/click tracking. Replies are the metric that matters.

Quick start

go build -o frostbite .
./frostbite serve

On first run it creates ./data/frostbite.db, seeds placeholder templates, and prints the dashboard URL including a random access token:

dashboard: http://127.0.0.1:8080/t/<token>/contacts

Everything is configured from the dashboard's Settings page (API key, sender identity, branding, caps, windows, follow-up delays) — settings live in the database and apply without a restart. The only flags are --db and --listen.

Workflow

  1. Import contacts — CSV upload (columns: email, first_name, company, country, custom, notes; only email required) or add them one at a time. Imports dedupe against existing contacts and the suppression list.
  2. Edit the three templates — Go text/template merge fields ({{.FirstName}}, {{.Company}}, {{.Custom}}, {{.Notes}}), live preview against any real contact. The seeded copy is a structure to keep and wording to replace.
  3. Dry-run — every would-be email is logged and written to ./data/dryrun/ as .txt (and .html if branded emails are on) so you read exactly what would go out.
  4. Go live — set the API key and from-address, uncheck dry-run, confirm. The scheduler sends one email at a time inside your window, spaced by random gaps, capped per day. Follow-ups go out after configurable delays; contacts that never reply are marked exhausted after the final window.
  5. Stay honest automatically — an hourly sync pulls per-recipient hard-bounce, spam-complaint, and unsubscribe events from SMTP2GO (/activity/search) into the suppression list.

Replies are marked manually (one click) — Frostbite deliberately has no IMAP integration, no tracking, and no multi-user story.

CLI

./frostbite serve                          # scheduler + dashboard
./frostbite import contacts.csv
./frostbite suppress [email protected] "reason"
./frostbite stats

HTML emails & branding

Templates stay plain text. At send time Frostbite wraps the rendered text in a minimal branded layout — header band, linked URLs, CTA button, footer — using the brand name, URL, accent color, and tagline from Settings. Both text_body and html_body are sent; recipients' clients pick. Toggle it off any time for pure plain text.

Branded HTML email

Documentation

Development

make check   # vet + test
make build

Go 1.24+. SQLite via modernc.org/sqlite (pure Go, no CGO). Frontend is server-rendered html/template + vendored HTMX — no build step. Table-driven tests cover the suppression check, due-date logic, merge-field validation, daily-cap counting, and the activity sync.

Layout

main.go                  CLI: serve / import / suppress / stats
internal/store/          SQLite: schema, settings, contacts, templates,
                         sends, suppression, due-date logic
internal/mailer/         rendering, merge-field guards, SendStep
                         (the suppression check lives here), HTML wrapper
internal/smtp2go/        SMTP2GO client: send + activity search, retries
internal/scheduler/      send loop (window/cap/gaps) + hourly activity sync
internal/web/            dashboard: net/http + html/template + HTMX

Roadmap

  • Plain SMTP sending (works with any provider; SMTP2GO stays the "smart" option with activity sync)
  • Configurable sequence length (N steps; currently 3)
  • User-defined custom fields (currently one generic custom column)
  • Optional webhook receiver as an alternative to polling

License

MIT. Use it for outreach people won't hate: relevant, low-volume, with a working opt-out. The guardrails are load-bearing — please don't fork them out.

About

Cold outreach in a single Go binary. Automated follow-up sequences, hard daily caps, unbypassable suppression list, and a spam-complaint kill switch — SQLite storage, HTMX dashboard, no Docker, no tracking.

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages