added sending of emails when hashmabir is created
fixed type in program.html