improvements to in/outbox