Add template to mail alert