Skip to content

MailQueue v0.1.0

Choose a tag to compare

@asrayg asrayg released this 25 Jun 00:29
· 18 commits to main since this release

MailQueue is a local tool for controlled, scheduled, multi-provider email outreach. It sends the same (or {{variable}}-personalized) email to many recipients gradually — within a sending window, under hourly/daily caps, with randomized delays — by driving the provider's real web UI via Playwright using your own logged-in session. No SMTP, no API keys, no stored passwords.

For legitimate outreach and follow-ups, not spam. It never bypasses CAPTCHA, 2FA, or provider anti-abuse systems, and auto-pauses on CAPTCHA / security warnings / logout / repeated failures.

Highlights

  • Three providers, all validated end-to-end (real sends confirmed via the Gmail API): Gmail, Outlook (incl. work/school outlook.office.com), and Zoho — built on a clean provider-adapter pattern.
  • Attachments (images + PDFs) verified on all three providers.
  • Mode 2 — provider-native schedule send ("Schedule send" / "Send later") on all three: mail goes out at the scheduled time with the app closed. Verified by delivery at the scheduled minute.
  • Anti-spam safety: sending windows, per-hour/day caps, randomized delays, in-campaign + cross-campaign duplicate prevention, auto-pause on serious errors.
  • Two ways to drive it:
    • Dashboard (Next.js): campaigns list, create, preview/confirm, live status, pause/resume/cancel/retry, log export.
    • CLI (mailqueue): full campaign lifecycle, one-off/scheduled send, worker, and provider test — every command supports --json.
  • Claude Code skill included, with a provider-UI-drift recover-and-PR workflow (introspect the live DOM → fix selectors → verify → open a PR).

Quick start

npm install
npx playwright install chromium
cp .env.example .env          # set TEST_RECIPIENT_EMAIL
npm run prisma:migrate
npm run mq -- provider login gmail
npm run mq -- --json campaign create --name "Outreach" --provider gmail \
  --subject "Quick question about {{company}}" --body-file body.txt --csv contacts.csv

Stack

Next.js · TypeScript · Playwright · SQLite + Prisma · Tailwind · Zod · PapaParse · Commander.

License: MIT.