moved mail config to base settings