---
name: VerifyMail SaaS Plan
description: Full implementation plan for email validation SaaS — 5 phases, 5 weeks, verify.icedoutai.com
type: project
---

Email validation SaaS product Arnav wants to build and ship properly.

**Why:** Add to CV, leverage cold email expertise from Iced Automations, real product not just a demo.

**How to apply:** When Arnav says he's ready to work on VerifyMail, reference this plan and start with Phase 1 (validation engine).

## Tech Stack
- **Backend:** Fastify (Node.js/TypeScript), BullMQ + Redis for queue
- **Frontend:** Next.js 14 + Tailwind + Shadcn/ui
- **Database:** PostgreSQL on Oracle A1 (via WireGuard tunnel)
- **Infra:** GCP VM (API, Redis, workers, frontend), Oracle A1 (Postgres)
- **Billing:** Stripe metered billing
- **Subdomain:** verify.icedoutai.com

## 10-Step Validation Pipeline
1. Syntax (RFC 5322)
2. Typo detection (Levenshtein)
3. Disposable domain check (~33K domains)
4. Role-based check (info@, admin@, etc.)
5. Free provider flag (gmail, yahoo, etc.)
6. MX record lookup
7. SMTP RCPT TO verification (the hard part)
8. Catch-all detection
9. Greylisting handling
10. Inbox full detection

Results: valid / invalid / risky / unknown + confidence score 0-100

## 5 Phases
- **Phase 1 (Week 1):** Core validation engine — all 10 checks, pipeline orchestrator, unit tests
- **Phase 2 (Week 2):** Fastify API, BullMQ queue, single + bulk CSV endpoints, API keys, rate limiting
- **Phase 3 (Week 3):** Next.js dashboard, landing page, auth (NextAuth), validation UI, history
- **Phase 4 (Week 4):** Stripe billing (Free/$19/$49/$149 tiers), usage tracking, credit enforcement
- **Phase 5 (Week 5):** API docs, webhooks, SPF/DKIM, monitoring, disposable list auto-update

## Pricing
- Free: 100/mo, 1/sec
- Starter $19/mo: 5K, 10/sec, API + bulk
- Pro $49/mo: 25K, 50/sec, priority queue
- Enterprise $149/mo: 100K, 200/sec
- Overage: $0.003/email

## Key Risk
SMTP verification against Gmail/Outlook — IP blacklisting, greylisting, rate limiting. Mitigate with aggressive caching (24h), rate limits (1/sec per MX), proper SPF/rDNS.

## File Structure
Project at: ~/arnav/verifymail/
Full detailed plan with file structure, DB schema, and 40 implementation steps was generated — re-run the planner agent to get the full output if needed.
