Rehman Mail
Case study 04: SaaS · Email marketing
An email-marketing SaaS: campaigns, automations and an AI copilot, sending through your own SMTP.
AI agent
What the AI does: An AI copilot writes and plans campaigns when you ask. Sending and automations then run on their own schedule.

- free AI providers with fallback
- 5free AI providers with fallback
- you already own
- Any SMTPyou already own
- Urdu & Arabic templates
- RTLUrdu & Arabic templates
The problem
Small teams want Brevo-style campaigns without being locked into one sending provider or paying per contact.
What I built
- 01Campaigns, audiences, automations, A/B subject tests, signup forms, landing pages and a preference centre
- 02Sends through any SMTP the user owns, with provider limits and a scheduled worker queue
- 03An AI copilot with five free AI providers and automatic fallback, plus RTL Urdu and Arabic templates
Stack
- Next.js 16
- TypeScript
- Neon Postgres
- Better Auth
- Vercel AI SDK
- pg_cron

