scan.setFilter(filters);
scanner = mailboxes.getScanner(scan);
Result result = scanner.next();
if (result == null) {
throw new MailboxNotFoundException(mailboxPath);
}
return mailboxFromResult(result);
} catch (IOException e) {
throw new MailboxException("Search of mailbox " + mailboxPath + " failed", e);
} finally {