Send emails from a template.