Hello
It requires a postfix integration and a custom script added to the integration section on the wazuh server here: /var/ossec/integrations/You can find a sample custom script in the blog I shared and modify it to reference the customization you require in the email.
Once that is set, you need to add the integration block to the wazuh manager referencing the integration script as well as the customization you mentioned.
I made a sample custom script from this and it worked by referencing the URL and linking back to the dashboard, please attached for your reference.
Please let me know if you require further assistance on this.