Backend (API)
Web App
2026
Full-Stack · NestJS · React · Gmail API · AI
Outreach Tool is a self-hosted B2B email outreach platform that helps sales teams find companies, reach them with personalised email sequences and turn replies into deals. It covers the whole funnel in one app: finding leads, enriching them with contacts, sending multi-step campaigns from real Google Workspace mailboxes, handling replies, and moving deals through a sales pipeline.
Each client runs its own installation with its own database, domain and branding, and company context and custom company fields are per-installation settings. It is built as two applications: a NestJS REST API with background workers, and a React web app.
Discovery jobs pull companies from open data: OpenStreetMap, Wikidata, official business registries (APR Serbia, Chamber of Commerce BiH) and the Croatian accommodation registry. Websites are guessed from company names and verified before they are accepted.
Website scraping (robots.txt-aware) finds contact emails along with names and job titles. CSV import with column auto-detection, email verification via syntax and MX lookup, and exclusion rules by domain or keyword.
Multi-step campaigns where follow-ups reply in the same thread. Per-language templates, variables with fallbacks, A/B subject testing, sending inside the recipient's working hours, per-mailbox daily limits and mailbox warm-up.
Claude (Anthropic API) drafts whole sequences from the company's offer and audience, writes a personalised opening line from each lead's website, and classifies incoming replies so the team sees what needs attention first.
Replies from all connected mailboxes in one place, answered directly from the app. A human reply stops the sequence for the whole company; bounces and unsubscribes are detected automatically.
Drag-and-drop Kanban pipeline from first contact to won/lost, with tasks, notes, tags and an activity timeline per company. Analytics per campaign, per sequence step and per mailbox.
The NestJS API follows a module-per-domain structure (companies, contacts, campaigns, mailboxes, inbox, discovery, pipeline, analytics) on top of TypeORM and MySQL, with all schema changes going through migrations. Sending, email verification, lead imports and discovery run as background jobs on BullMQ and Redis, so the API stays responsive while thousands of emails and scraping tasks are processed.
A scheduler runs every minute, picks enrollments that are due, assigns a mailbox, checks the recipient's time zone and the mailbox's daily limit, and hands the message to the send worker. The API is documented with Swagger, secured with JWT + Passport and role-based guards, and rate-limited on public endpoints. Each installation is deployed with a single script that pulls, builds, runs migrations and restarts the pm2 process with a health check.
Mailboxes are connected through Google OAuth, and emails go out through the Gmail API from the team's own Workspace accounts, so messages look and behave like normal one-to-one email. Threads are synced back into the app and parsed to detect replies, auto-responders and bounces.
Deliverability and compliance were built in from the start: no open pixels or click tracking, an unsubscribe link plus one-click List-Unsubscribe header, a global suppression list, the lead source recorded for every contact, and GDPR erasure on request.
The frontend is a React 19 + TypeScript single-page app built with Vite and shadcn/ui on Radix primitives. TanStack Query manages server state, TanStack Table powers the large, filterable lead lists with bulk actions, and the pipeline board and sequence editor use dnd-kit for drag and drop.
Forms use React Hook Form with Zod, charts are built with Recharts, and the whole interface is translated into Serbian, English and German. It is tested with Vitest, Testing Library and MSW, and deployed to Netlify.
Backend (API)
Web App