~/eldan-galperin
back to work

AI inbox automation · 2024

Email Unsubscribe Agent

A backend service that reads inbound email and uses an LLM to decide what to unsubscribe from — automatically.

role · Solo build
stayyoung-unsubscribe
$ node unsubscribe-worker
✓ gmail api connected
✓ rabbitmq queue online
→ scanning inbox · classifying
→ llm: unsubscribe candidate?
✓ lists unsubscribed

The problem

Marketing inboxes drown in list noise. The goal: automatically detect unwanted subscriptions and act on them at scale, without a human triaging every message.

What I built

  • Gmail integration that scans inbound mail and routes unsubscribe candidates through a queue.
  • An OpenAI-powered classifier that decides whether — and how — to unsubscribe.
  • RabbitMQ for async job handling with MySQL persistence, built to run continuously.

Impact

  • Turns a manual chore into an autonomous background worker.
  • Queue-based design absorbs inbox volume without blocking.