lib/mail.coffee edit