fix outgoing email issue, for integrating with mandrill smtp