Skip to content

feat: Add no-reply notice and reply-to to automated emails - #823

Merged
goelsonali merged 1 commit into
Women-Coding-Community:mainfrom
violazeneli31:feature/821-automated-email-footer
Oct 19, 2026
Merged

goelsonali merged 1 commit into
Women-Coding-Community:mainfrom
violazeneli31:feature/821-automated-email-footer

Conversation

@violazeneli31

Copy link
Copy Markdown
Contributor

Description

Changes:

  • Added a bold notice to the shared email signature (app.email.team-signature in application.yml): "[Automated Message] Please do not reply to this email, as this address is not monitored. For any questions, please contact the Mentorship team at mentorship@womencodingcommunity.com."
  • Removed the old [Automated Message] line from the 6 templates that had it, so it doesn't show twice.
  • EmailService now sets Reply-To to the mentorship email (notification.mentorship-email) when an email has no reply-to of its own. Emails that set their own reply-to keep it.
  • Added 2 unit tests in EmailServiceTest (default Reply-To, custom Reply-To kept) and 1 integration test in EmailTemplateServiceTest (the notice appears in rendered emails).

Why is this change required?
Mentors and mentees get automated emails from a no-reply address, but nothing told them not to reply, so they were confused about how to contact the mentorship team.

What problem does it solve?
Every automated email now clearly says not to reply and gives the right address. And if someone replies anyway, the reply goes to mentorship@womencodingcommunity.com instead of being lost.

Notes:

  • Only 6 of the 39 templates had the [Automated Message] footer, but all 39 use {{teamEmailSignature}}, so adding the notice to the signature covers every automated email.
  • Some templates ask people to "reply to this email". With the new Reply-To, those replies now reach the mentorship team.

Related Issue

Closes #821

Change Type

  • Bug Fix
  • New Feature
  • Code Refactor
  • Documentation
  • Test
  • Other

Screenshots

Tested locally with the QA Docker stack and MailHog, using the password reset email (a template that never had the old footer). These are email screenshots instead of Swagger, since the change is in the email content and headers.

Notice at the bottom of the email:
sc1-no-reply-notice

Headers showing From: noreply and Reply-To: mentorship@womencodingcommunity.com:
sc2-reply-to-header

Pull request checklist

Please check if your PR fulfills the following requirements:

@violazeneli31
violazeneli31 force-pushed the feature/821-automated-email-footer branch from 1ede482 to 78c596e Compare October 16, 2026 19:53
@sonarqubecloud

Copy link
Copy Markdown

@khairahscorner khairahscorner left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! The PR description was well-detailed too👍

@goelsonali goelsonali left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work !! Clear and well explained.

@goelsonali
goelsonali merged commit 6f89208 into Women-Coding-Community:main Oct 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: improve automated email footnote for clarity

3 participants