Mailbox filtering by body content also captures subject matches
I have a method that filters emails from an Outlook mailbox based on the sender and optionally, the subject and the body content (either or both). I’m using the exchangelib library to access the Exchange server.