48796d9917d60c7d28f7a25cb75bc726c8443614
Simplify email filtering by removing server-side filtering logic and replacing it with in-process filtering after email retrieval. Eliminate the use of `ICriterion` and `Expression` constructs, and move all filtering conditions (e.g., `UnseenOnly`, `SubjectContains`, `SenderContains`, etc.) into the processing loop. Add an `IsSeen` property to `ReceivedEmailContext` to track email read status. Apply `filter.MaxCount` after all filtering and processing are complete. Update `filter.WithAttachments` logic to conditionally include attachments in results. Improve code readability and maintainability by consolidating filtering logic into a single location, ensuring consistent application of all filters.
DigitalData.MessagingService
Description
Languages
C#
100%