hack email send function