-
Notifications
You must be signed in to change notification settings - Fork 58
feat: wires emails to Adhoc & LongTerm flows #703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Sowmiya07
merged 8 commits into
Women-Coding-Community:main
from
Sowmiya07:feat/add-email-template
Jun 16, 2026
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
539516d
Adds email templates for adhoc & fix signature
Sowmiya07 ae42c4f
Format & fix gaps in Emails
Sowmiya07 a5b6fb8
Merge branch 'feat/add-email-template' of personal-github.com:Sowmiya…
Sowmiya07 e0f0b16
Fix sonar issues and adds/splits tests
Sowmiya07 19a8fde
Fix sonar issues
Sowmiya07 e78351e
Fix sonar issues
Sowmiya07 b0ef31d
Fix code review comments
Sowmiya07 5144747
Bump db migration version
Sowmiya07 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
7 changes: 7 additions & 0 deletions
7
src/main/resources/db/migration/V39__20260613__add_mentor_meeting_link.sql
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| -- V38: Add meeting_link to mentor | ||
|
|
||
| ALTER TABLE mentors | ||
| ADD COLUMN meeting_link VARCHAR(500); | ||
|
|
||
| COMMENT ON COLUMN mentors.meeting_link IS | ||
| 'Unique Meeting link for the mentor, set by admin for approved mentors.'; |
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
59 changes: 59 additions & 0 deletions
59
src/main/resources/email-templates/confirm_adhoc_pairing.yml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| CONFIRM_ADHOC_PAIRING: | ||
| subject: "You are paired up in WCC Mentorship Adhoc session for {{month}}-{{year}}" | ||
| body: | | ||
| <p>Dear {{mentor_name}} and {{mentee_name}},</p> | ||
|
|
||
| <p> | ||
| Welcome to Women Coding Community <strong>Adhoc Mentorship programme for {{month}}, {{year}}</strong>. | ||
| </p> | ||
|
|
||
| <p> | ||
| Mentorship is a powerful tool for personal and professional growth, and we hope this relationship is a meaningful opportunity for you to learn, grow, and achieve your goals. | ||
| </p> | ||
|
|
||
| <p> | ||
| <strong>Your Pairing:</strong> | ||
| </p> | ||
|
|
||
| <ul> | ||
| <li>Mentor: {{mentor_name}} (<a href="mailto:{{mentor_email}}">{{mentor_email}}</a>)</li> | ||
| <li>Mentee: {{mentee_name}} (<a href="mailto:{{mentee_email}}">{{mentee_email}}</a>)</li> | ||
| <li>Mentor's Scheduling Link: (<a href="{{mentor_calendly_link}}">{{mentor_calendly_link}}</a>)</li> | ||
| <li>Google Meet Link: (<a href="{{meeting_link}}">{{meeting_link}}</a>)</li> | ||
| </ul> | ||
|
|
||
| <p> | ||
| We've provided the Google Meet link above for your sessions so you (please ignore the corresponding calendar invite). If you use the provided meeting link, you can choose whether to record, transcribe, or take notes during your call. Please be aware that if you choose to record or keep notes, WCC will automatically receive a copy. This information is fully confidential and will not be shared with anyone. <strong>Note:</strong> You're welcome to use a personal meeting link or alternative communication method instead if you prefer. | ||
| </p> | ||
|
|
||
| <p> | ||
| <strong>Getting Started</strong> | ||
| </p> | ||
|
|
||
| <ol> | ||
| <li>As a mentee, please take the lead on scheduling your one-time session with your mentor - {{mentor_name}} using the mentor’s scheduling link. These sessions are typically one hour long.</li> | ||
| <li>We recommend writing down what you hope to accomplish beforehand. This will help make the session more impactful.</li> | ||
| <li>Once you’ve booked your session, kindly reply to this email with the scheduled date.</li> | ||
| </ol> | ||
|
|
||
| <p> | ||
| <strong>Helpful Resources</strong> | ||
| </p> | ||
|
|
||
| <p> | ||
| To support you through this session: | ||
| </p> | ||
|
|
||
| <ul> | ||
| <li><a href="https://mentorship.womencodingcommunity.com/mentorship/resources">Mentorship Resources</a></li> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The website -frontend is not fixed yet, I think @Deejarh was the one to fix this changes. |
||
| <li><a href="https://mentorship.womencodingcommunity.com/mentorship/code-of-conduct">Code of Conduct for Mentors and Mentees</a></li> | ||
| </ul> | ||
|
|
||
| <p>We hope these resources help you make the most of this mentorship opportunity. If you have any questions or concerns, please don’t hesitate to reach out to us via email or the Slack channel #mentorship.</p> | ||
| <p>Wishing you a rewarding mentorship session!</p> | ||
|
|
||
| <p> | ||
| {{teamEmailSignature}} | ||
| </p> | ||
|
|
||
| <p>[Automated Message]</p> | ||
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be populated in next PR