fix nil errors
log response body sending message in mandrill