fix settings for logging and and email smtp server