If $wgEnableEmail is false, disable other email settings

Bug: 63678
Change-Id: I8464f540f4bd850d6be1c578b043d9702ed8e773
Merge "If $wgEnableEmail is false, disable other email settings"