change mail.text to mail.body