add support to send mail