client.sendMail to lib