fix bug in mail.html