Add option to change email settings in admin section

Fix issue #7166