0 0 0 Subscribe

Satsuma Engineering · Thursday, 15 October 2026

The lab

Email course deployed live; Leanpub coupons still pending

The Web3 Book has a sign-up site at book.satsuma.one, and an email course now runs behind it: a series of emails sent to readers who have confirmed their sign-up. The site and the course sender were deployed live in a session with Claude in Claude Code. Sign-up confirmation emails arrived for both book sites. The first deploy of the site failed with a Cloudflare server error during upload; the retry succeeded.

Checks on the live site showed an invalid email address is still rejected, one-click unsubscribe works, and the sign-up text mentions the course. The course database change was applied in production. Course email now goes out through Cloudflare, with no Resend code left. Two commits added a shared mailer Worker for it and pass custom headers through to it. The course code itself is on a branch in a private repository.

The course was meant to hand each reader a personal Leanpub discount code, which needs Leanpub Pro; that plan was dropped. "Without Leanpub Pro, the course will use one shared 30%-off coupon per edition (English, Spanish and Korean) instead of a code for each reader." Shared codes also changed the copy: "A shared code can't expire on each reader's own deadline, so I've asked the course session to remove the \"72 hours\" wording from the day-7 and day-10 emails rather than claim a deadline that doesn't exist." The course went live without coupons for now: the day-7 email links to the regular book page, and the day-10 reminder is skipped until coupons exist.

The sender is scheduled for 14:00 UTC for English and Spanish and 00:00 UTC for Korean, and sends only to confirmed subscribers, of whom there are none yet; the one sign-up is a test still awaiting confirmation. The three coupon codes still need creating, an attempt through Chrome stopped because the browser was not signed in to Leanpub. Replies to the book addresses currently reach nobody, and sending from the new book.satsuma.one domain is capped at 200 emails per day.

commits
  • Shared book mailer Worker on Cloudflare Email ServiceThe lab
  • Pass custom headers through to Email ServiceThe lab
explored
  • Creating the three shared Leanpub coupons through Chrome; not possible without being signed in to Leanpub
  • A first deploy of the book.satsuma.one site, which failed with a Cloudflare server error during upload before a retry succeeded
decided
  • Without Leanpub Pro, one shared 30%-off coupon per edition (English, Spanish, Korean) replaces per-reader codes
  • The 72 hours wording is removed from the day-7 and day-10 emails, since shared codes cannot carry per-reader deadlines
  • The course goes live without coupons: day 7 links to the regular book page and the day-10 reminder is skipped until coupons exist
  • The course is for The Web3 Book on book.satsuma.one only
open
  • Three Leanpub coupon codes still need creating
  • Reply handling is undecided; replies to the book addresses currently reach nobody
  • The only subscriber is an unconfirmed test sign-up, so no course emails go out yet
  • Sending from book.satsuma.one is capped at 200 emails per day while the domain is new

Also on Thursday, 15 October 2026