Skip to content
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

feat: Notification Email Templates #13940

Merged

Conversation

TimVanOnckelen
Copy link
Contributor

@TimVanOnckelen TimVanOnckelen commented Nov 5, 2024

This PR introduces a feature to allow system users to customize the text of email notifications by setting up custom templates in the system settings. Users can tailor their email content with dynamic tags, and HTML is supported for formatting. This update aims to improve flexibility and personalization in user communications.

Key Changes

  • Added a new tab in system settings for custom email templates
  • Enabled HTML support and dynamic tag usage within templates
  • Preview on email templates in the backend
  • Updated documentation to reflect these changes
  • Added localization support for English (EN) and Dutch (NL)

This enhancement enables administrators to align notifications with specific branding or informational needs more effectively.
user-notifications-templates

Preview of email template

@github-actions github-actions bot added documentation Improvements or additions to documentation 🖥️web 🗄️server labels Nov 5, 2024
@TimVanOnckelen TimVanOnckelen changed the title Feat: Notification Email Templates feat: Notification Email Templates Nov 5, 2024
@alextran1502
Copy link
Contributor

Without the HTML viewer for styling and such, it is very hard to check for the modification, right?

@TimVanOnckelen
Copy link
Contributor Author

Without the HTML viewer for styling and such, it is very hard to check for the modification, right?

It may indeed be handy to have a preview to check the modifications. The implementation right now is bare bones. A basic optimization would be to either add a wysiwyg editor, or add the ability to send a test mail?

@TimVanOnckelen TimVanOnckelen marked this pull request as draft November 6, 2024 11:13
@TimVanOnckelen
Copy link
Contributor Author

Changes stated in the reviews are added.

@alextran1502 alextran1502 enabled auto-merge (squash) December 4, 2024 20:09
@alextran1502 alextran1502 merged commit 292182f into immich-app:main Dec 4, 2024
33 checks passed
@TimVanOnckelen TimVanOnckelen deleted the feat/notification-email-template branch December 4, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants