UPDATE: move mail settings to config