changed mail config and set debug to false