email config, templates work