fix output in views/mails/write.php refs #8