DEV Community

Krishna
Krishna

Posted on

Free Self-Hosted Email Automation: Set Up in 5 Minutes with Supabase

Want email automation without paying $200/month? Here's how to set it up in 5 minutes.

What You'll Get

  • Multi-step email sequences
  • Auto-enrollment for new leads
  • Smart stop rules
  • Delivery tracking

Prerequisites

  • Node.js 18+
  • Supabase account (free)
  • SMTP credentials (Gmail works)

Step 1: Clone

git clone https://github.com/krishna-build/claude-coach-kit.git
cd claude-coach-kit
npm install
Enter fullscreen mode Exit fullscreen mode

Step 2: Configure

cp .env.example .env
# Add your Supabase URL + key
# Add SMTP credentials
Enter fullscreen mode Exit fullscreen mode

Step 3: Start

npm run dev
Enter fullscreen mode Exit fullscreen mode

Step 4: Create Your First Sequence

  1. Open dashboard at localhost:5173
  2. Go to Sequences → Create New
  3. Add steps with delays (Day 1, Day 3, Day 7)
  4. Write your email templates
  5. Activate!

New leads are automatically enrolled. When they pay, the sequence stops.

How It Works

The email engine runs as a Supabase Edge Function. A cron job checks for pending emails and sends them via SMTP.

No external email service needed (though Resend API is supported too).

Full Project

Claude Coach Kit on GitHub

MIT licensed. Free forever.


Built by a non-coder from India using AI.

Top comments (0)