Tady https://ecederstrand.github.io/exchangelib/exchangelib/ vidim
def filter(self, *args, **kwargs)
takze bych cekal, ze by melo fungovat neco takovehoto:
lookups = {'subject__exact': 'nejaky_predmet123', 'sender__email_address__icontains': 'MUJmail@'}
all_mails = acount.inbox.all()
all_mails.filter(**lookups) # kwargs == lookups