Scripting for email notifications
Use mail scripts to add business rule-like scripting to outbound email messages.
Mail scripts enable you to dynamically change the email output of your system based on different criteria. You can use them for simple tasks, such as displaying incident data, and for complex ones, such as running advanced database queries.