How to add custom information for Trigger actions message in OD Elasticsearch?

Hello, I’m new to Elasticsearch, we have OD Elasticsearch and kibana for Syslog and visualization.
I have configured the Email alerts for port violation monitor, I’m getting email alerts when trigger condition matches with default Messages info, I want to add more specific details about the alert.

How can I edit the default template and add custom fields from the log message like host IP, port number, alert message, etc, in the email alerts?