implemented mailbox feature