Fix stall on sending email