Fix for wrong mail setting loading

thanks to jreidinger for debugging and info