add bcc support to send_mail method