feat(lifecycle): print the business postal address in every email footer - #1021
Merged
Conversation
CAN-SPAM requires a valid physical postal address on commercial email. Every recipient-facing message (campaign steps and fulfillment) now ends with the business postal address on a single plain line directly after the unsubscribe line, in both the text and HTML parts. The address is sourced from one exported constant, BUSINESS_POSTAL_ADDRESS, next to the founder booking URL; the HTML part renders it as one escaped <p> so the sender's paragraphs-and-links-only check still passes. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
blove
enabled auto-merge (squash)
September 5, 2026 21:48
blove
added a commit
that referenced
this pull request
Sep 5, 2026
…) (#1022) Reverts commit 8c56a92. The postal address must not appear on any user-facing surface. Recipient email footers return to the signature and unsubscribe line only, the BUSINESS_POSTAL_ADDRESS constant is removed, and the design spec no longer records the constraint. Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BUSINESS_POSTAL_ADDRESS, inapps/lifecycle/src/campaign/templates.ts, beside the founder booking URL.<p>, so the sender's paragraphs-and-links-only validator inlibs/growth/src/lib/resend.tsstill passes.send.spec.tspins the address as the trailing line of both parts for both campaign families.Verification
npx vitest run --config apps/lifecycle/vitest.config.ts: 13 files, 463 tests passed (after rebasing onto feat(lifecycle): fulfillment mail in the campaign register #1018).npx nx run lifecycle:check: Dawn app valid, tsc clean.🤖 Generated with Claude Code