Adding email settings. Adding profile template.