fix bug with autotes:run & and send email task