Configuring custom templates for alert emails