JAMES-4028 MailImpl: More compact version of Mail.getName

On a production system we encountered a JMAP query for which the clause count
of OpenSearch (- 1024) was exceeded. This commit makes sure that it is not
linked to the overall right filtering strategy pushing the mailboxes to search
in onto the search query.
1 file changed