added templates, email helper