Add mail domain setting; commit synced with https://github.com/cusu/bob-gui/commit/2088fe5085706ab84b3ed3cff1be044465922f89