Added settings to support sending mail