Skip to content

feat(mailer): Add emailChange mail template#381

Merged
MarekSuchanek merged 1 commit intodevelopfrom
feature/email-change
Apr 24, 2026
Merged

feat(mailer): Add emailChange mail template#381
MarekSuchanek merged 1 commit intodevelopfrom
feature/email-change

Conversation

@MarekSuchanek
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new wizard:emailChange mail template to the dsw-mailer package, enabling the system to send an email-address-change confirmation email (HTML + plain text) with localized subject/body.

Changes:

  • Added wizard/emailChange template definition (message.json) for the new email type.
  • Added localized subject template and both HTML + plain-text message bodies.
  • Implemented an email-verification link using ctx.clientUrl and ctx.hash.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
packages/dsw-mailer/templates/wizard/emailChange/subject.txt.j2 Adds translatable subject for the email-change confirmation message.
packages/dsw-mailer/templates/wizard/emailChange/message.txt.j2 Adds plain-text email-change confirmation body with verification link.
packages/dsw-mailer/templates/wizard/emailChange/message.json Registers the new template (wizard:emailChange) and its parts.
packages/dsw-mailer/templates/wizard/emailChange/message.html.j2 Adds HTML email body with CTA button and support/footer content.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/dsw-mailer/templates/wizard/emailChange/message.html.j2 Outdated
Comment thread packages/dsw-mailer/templates/wizard/emailChange/subject.txt.j2
@MarekSuchanek MarekSuchanek merged commit 4db10c2 into develop Apr 24, 2026
27 checks passed
@MarekSuchanek MarekSuchanek deleted the feature/email-change branch April 24, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants