remove isInbound and use mailbox ts