send an email message based on a template