Implemented Outbox functionality