change to mail config