Added html templates and fixed email