added mail settings to config