basic implementation of mailbox server