Repository navigation
Board: per-chapter email sender - #100
Merged
Merged
Conversation
Announcements, calendar invites and submission emails now come from the chapter's sender in chapter-server.ts (Berkeley: Rana <president@getvindicated.org>, UCLA: President Fiona <vindicatedbruins@getvindicated.org>). BOARD_INVITE_FROM is the fallback for a chapter without one, and the setup checks only ask for it then. Reply-to is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QzNDQSmhjgKE63rwUnwcMq
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.
What this does
Board emails now use a sender for each chapter instead of the one shared
BOARD_INVITE_FROM. This covers announcement emails, calendar invites and submission emails.Rana <president@getvindicated.org>President Fiona <vindicatedbruins@getvindicated.org>Both senders live in
lib/board/chapter-server.tsasfrom, with the display name and address together. A chapter set tofrom: nullfalls back toBOARD_INVITE_FROM, written either as a bare address or asName <address>. Reply-to is unchanged: the organizer for announcements and invites, and the submitter for submissions.The setup checks now only ask for
BOARD_INVITE_FROMwhen a chapter has no sender of its own. Submission emails used to come fromgetvindicated@outlook.com; that address is now only the last fallback.Tested (local production build, Brevo replaced by a stub,
BOARD_INVITE_FROMunset)President Fiona <vindicatedbruins@getvindicated.org>, replies to fionarhine@ucla.edu.Rana <president@getvindicated.org>, replies to Rana.Name <address>and"Name" <address>.Deploy notes
No new variables.
BOARD_INVITE_FROMcan stay as a fallback; neither chapter needs it now.Generated by Claude Code