working fixing mail config