Modified block module to send Email