fix bug: send mail