Bug in mail function (html)