[Compass-ci] [PATCH v5 compass-ci 2/7] send-internet-mail: optimize