This is a promise now, I'm guessing you've copied this from code that was written when this wasn't a promise yet.

Rather do:

```javascript
var p = im.log('outbound.send_to_tag with ' + content + ' and ' + to_addr);
p.add_callback(function() {
    return im.api_request("outbound.send_to_tag", {
        to_addr: to_addr,
        content: content,
        tagpool: sms_tag[0],
        tag: sms_tag[1]
    });
});

return p;
```