Fixing the update of the email setting