add primitive mailbox, fix mail threading