fixing mail bug, changing port