Added Mail and logging config directives to config.