Skip to content

Confirmation mail through Resend - #15

Merged
bubulux merged 3 commits into
mainfrom
feat/14-resend
Nov 4, 2026
Merged

bubulux merged 3 commits into
mainfrom
feat/14-resend

Conversation

@bubulux

@bubulux bubulux commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Closes #14.

  • Reverts Short page without the form until mails can be sent #13: the form, the notify route, its tests and the privacy sections are back.
  • mail.ts: resendMailer posts to Resend's REST API with the key as bearer; mailerFor picks the injected test mailer, Resend with a key, a logging mailer locally without one, or a failing send. The send_email binding and the EMAIL env are gone; Ctx.mail carries the mailer.
  • The Deploy workflow requires RESEND_API_KEY in the environment and sets it as a Worker secret after the deploy.
  • The mail says "the OpenClapper alpha notification: one mail when the alpha starts", matching the page.
  • The privacy page names Resend as the mail sender. docs/deploying.md has the Resend setup (domain, DNS, API key, the environment secret); architecture, development, forms and README updated.
  • Tests: two new ones for the Resend request shape and error, and for the mailer choice. 21 route tests.

Checked locally: a sign-up logs the mail with its link; the link confirms and lands on /?confirmed=yes#waitlist.

🤖 Generated with Claude Code

bubulux and others added 3 commits November 4, 2026 13:47
Reverts the form's removal (#13) and replaces the send_email binding with Resend's REST API behind
the RESEND_API_KEY secret, set by the Deploy workflow. Locally without a key the Worker logs the
mail with its link. The mail names the alpha notification, as the page does.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ready on the list"

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@bubulux
bubulux merged commit 6e85e30 into main Nov 4, 2026
5 checks passed
@bubulux
bubulux deleted the feat/14-resend branch November 4, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Send the confirmation mail through Resend

1 participant