ProjectsSoftware & AI

Research-led AI Outreach Agent

An agent that looks up each company's open roles, writes a tailored email with Claude and runs a polite three-step sequence across several inboxes.

Result
Research, write, send, follow up: unattended
Context
Solo build · runs on a schedule
Year
2026
Area
Software & AI
Sales & Client Growth
Code
Source on GitHub ↗

01The problem

A job-search campaign across the UK and Ireland meant checking hundreds of careers pages and writing every email and follow-up by hand.

02What I did

Built a Python multi-agent pipeline. It reads target contacts from Google Sheets, detects each company's applicant-tracking system (Greenhouse, Lever, Workday and others) and pulls live roles through their APIs, has Claude pick the best-matching role and write a personalised email, then sends through three Gmail accounts within UK business hours, respecting daily limits and each country's bank holidays. One LLM call sorts every reply into a real answer, an out-of-office or a "no longer here" notice, and the sheet updates itself.

03Finding the right role at each company

Most companies publish their vacancies through an applicant-tracking system, so the research agent first works out which one. It recognises 11 platforms, and for eight of them (Greenhouse, Lever, Workable, SmartRecruiters, Recruitee, Ashby, BambooHR and Pinpoint) it reads the live roles straight from their APIs. It checks both the homepage and the careers page with a real browser, because many careers pages only load in JavaScript.

Each company is also checked against the UK and Irish work-permit sponsor registers. Claude Sonnet then picks the best-matching role and writes the email, while a cheaper model handles classification. If the main provider is down, everything can switch to NVIDIA's models.

04Polite by design

The limits are what keep it from being spam: at most 25 emails per inbox per day, no more than three emails to any one person, five working days apart, and only during UK office hours. Fridays are for follow-ups only. The UK and Ireland run through one pipeline keyed by country rather than two copies, so the same three inboxes never quietly double their volume.

Replies are handled too. Simple ones (no vacancy, "apply through the portal", "I've forwarded this") get a short templated answer, anything that looks like it needs a person is flagged before any model sees it, and new contacts found in email signatures are added only if they appear word for word in the email.

05Bugs that only real email can teach you

An out-of-office saying "back Friday the 2nd" was read as the 2nd of January. Dates are now resolved against the date the email was sent, and the weekday is checked in code.

Gmail decided a re-saved CV was a virus and silently blocked the sends. The agent now spots the bounce notice and resets the row.

Sorting the Google Sheet by hand shifted the rows under a running job. It now re-reads the row number right before every write.

It runs on GitHub Actions, triggered by an Apps Script timer, because GitHub's own scheduler sometimes didn't fire for hours.

06The outcome

Every contact gets a researched, relevant email and at most two follow-ups, with no manual tracking. Sequences close themselves when nobody replies.

07Tools & skills

  • Python
  • AI Agents
  • LLM Integration
  • Web Scraping & APIs
  • Gmail API
  • Google Sheets API
  • Email Automation
  • Workflow Automation
  • Google Apps Script
  • CI/CD (GitHub Actions)
  • Google Cloud (GCP)
  • OAuth & Service Accounts
  • Git
Prateek Sahni

Thanks for reading. Want to talk?

Hiring?

I'm open to new roles across engineering, software and AI. I'm happy to walk you through this project in more detail, or send my CV.

Book a 30-minute call Request my CV

Need something like this built?

Tell me what you're working on in a few lines. No brief or deck needed, and you'll get an honest answer on whether I'm the right person for it.

Tell me about itMessage me on LinkedIn