Configure email notifications for user mentions
How to enable and customize email notifications for users tagged (at-mentioned) on asset communication.
In addition to the Notifications about communication updates , shown in the notification center in Censhare Web, it is also possible to configure email notifications for this kind of updates. Such notifications can be enabled and work out-of-the-box, but can also be customized according to your needs.
Enable email notifications for user mentions
First, you need to enable and configure default email notifications functionality for at-mentions.
Prerequisite
Censhare Server 2025.1 and higher
A configured Mail service
You can create a separate configuration in the Mail service for these kind of notifications or use any existing one. On the next steps, you will need to enter the email address from this configuration from which the notifications will be sent.
Steps
Prepare XSLT transformation
The sample XSLT transformation – XSLT-send-email-on-mention
– can be used as-is, you only need to add the email sender from the configured email service.
Use XSLT transformation in the Admin Client configuration
In the Admin Client, go to Configuration → Modules → Email → Send E-mail using XSLT
In the asset events, select Trigger email on mention
In the transformation dropdown, select Send email on mentioning
Save your changes and update the server configuration
Customize email notifications for at-mentions
Configure email message
In the aforementioned XSLT template, you can adjust the body of the message and its subject, as well as set a local translation.
Add deep link
You can add a deep link to the email notifications. By clicking on this link, the user will be redirected to the asset on which this communication happens.
For this, in Censhare Web:
Go to the System asset
Enter System properties (on the very first tab)
You will land in General → Settings → Web Client URL
Enter the URL of your Censhare Web
Save your changes
After that, the email will contain a deep link to the context asset.