notification: send_confirmation_email — confirm signup #12

Closed
opened 2026-02-28 08:39:59 +00:00 by ash · 0 comments
Owner

🔵 State-Change Slice

Stream: notif-confirm-{email-hash}
Command: SendConfirmationEmail{Email}
Event: ConfirmationEmailSent{Email, SentAt, MessageID}

Invariants

  • Not already sent (idempotent)

Side Effect

Sends email via Resend:

Subject: You're on the waitlist!
Body: Thanks for signing up, {Name}. You're #{Position} in line.

Tests

TestSendConfirmationEmail_Happy
TestSendConfirmationEmail_Idempotent

Agent assignment: builder-notify

## 🔵 State-Change Slice **Stream:** `notif-confirm-{email-hash}` **Command:** `SendConfirmationEmail{Email}` **Event:** `ConfirmationEmailSent{Email, SentAt, MessageID}` ### Invariants - Not already sent (idempotent) ### Side Effect Sends email via Resend: ``` Subject: You're on the waitlist! Body: Thanks for signing up, {Name}. You're #{Position} in line. ``` ### Tests ``` TestSendConfirmationEmail_Happy TestSendConfirmationEmail_Idempotent ``` **Agent assignment:** builder-notify
ash closed this issue 2026-02-28 08:44:47 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ash/waitlist#12
No description provided.