Notify parents by email when a coach connection for their athlete is approved
Canadian Elite Volleyball Academy — Development Update • April 20, 2026
--- title: Notify parents by email when a coach connection for their athlete is approved ---
Notify parents by email when a coach connection for their athlete is approved
## What & Why When a coordinator approves a coach's connection request, the coach receives an email notification (Task #93). However, the parent who can now see the coach on their athlete's summary page is never informed. Adding a parent notification closes this gap and helps families stay up to date without having to check the app.
## Done looks like - After a coordinator approves a coach connection (PATCH ), the system looks up the athlete's parent(s) via storage.isParentOfChild / guardians and sends each parent an email confirming the coach is now connected - Email includes the coach's name, connection type, and a link to the athlete's summary page - Email sending follows the same try/catch pattern used for coach approval emails (server/routes/community ~line 5848)
## Relevant files - server/routes/community (PATCH route for approving connections, ~line 5814) - server/email (getResendClient, fromEmail pattern) - server/storage (getAcademyPerson, isParentOfChild, guardians)
Canadian Elite Volleyball Academy
elitevolleyball.training
No comments:
Post a Comment