build.xml updated and email function added