How to create custom message info for monitors in Elastic?

Hello, I'm new to Elastic, I have configured the Email alerts for port violation monitor, but I getting emails with default Messages info, not Specific details about the alert. How can I edit the default template and add custom details like switch IP, port number, mac add violation, etc,, in the email?

snap attached