fix email send for homework