How should I integrate an external API to send the emails with the `send_queued_messages` command, while keeping this awesome interface?