[Compass-ci] [PATCH compass-ci 2/2] lib/mail-post: add send_mail_encode function