All tips
Tip

Set up a working newsletter on your landing page

A simple, step-by-step guide to adding a working email signup using Resend and a small serverless API - no Mailchimp, no extra services.

A working email signup is two pieces: an HTML form on your landing page and a tiny serverless API that hands the address to Resend. Wire those together and you have a newsletter - no Mailchimp, no extra services, just your domain and a list of addresses you own.

What you'll build

  • A <form> on your landing page that posts to your own API.
  • A /api/subscribe route that validates the email and forwards it to Resend (or stores it in your DB).
  • Optional: a confirmation email so subscribers double-opt-in.

Why this beats SaaS forms

  • You own the list. Export anytime, switch providers without breaking links.
  • One less third-party script on your landing page - faster load, better Core Web Vitals.
  • Same domain. No iframe, no CORS dance, no cookie banner surprise.

The full walkthrough below has the markup, the API route, the validation, and how to test the loop locally before going live.

Open the linked resource

Want this wired into your business?

Book a 1:1 and we’ll set this up live on your machine, tuned to your real workflow.

Set up a working newsletter on your landing page - Claude Tips · DreamForge Lessons