filter on sender/recipient by passing a userId which can map either the sender or the recipient.