Fix in hash email send function