Added mail settings returned when logging into the UI, and module flags to checkModuleAccess