[Compass-ci] [PATCH compass-ci] lib/mail_client: add send_mail_encode function