Updated emails to use templates.