custom email alerts and date format in alerts