Description
The inMailbox, notInMailbox filters are ignored when they are placed in a combination of filter.
The reason is :
- Mailboxes the query is run against are resolved against cassandra before being pushed to the search index.
- The bit of code handling this conversion only take into consideration TOP LEVEL liters and not those wrapped by some FilterOperatrs (AND, OR, NOT)
for more context see #3180:
https://github.com/linagora/james-project/pull/3374
DOD :
make
`GetMessageListMethodTest.getMessageListShouldFetchUnreadMessagesInMailboxUsingACombinationOfFilter`
pass and add test to ensure the notInMailbox filter is handled as well.
create some other tests with nested mailbox filters