6c698c95bee8c93bb7898130375cf7941e9911b6
Updated ReadEmailQuery to return a new response type, ReadEmailQueryResponse, which includes both email data and metadata (e.g., LastSync). Added the Account property to ReadEmailQuery for specifying the email account. Refactored ReadEmailQueryHandler to: - Use IImapEmailService to fetch LastSync metadata. - Return ReadEmailQueryResponse instead of a collection of ReceivedEmailDto. Introduced ReadEmailQueryResponse class to encapsulate LastSync and Emails properties. Updated EmailController to handle the new response structure, ensuring compatibility with the updated ReadEmailQuery and its handler.
legacy
@ e59b936181
DigitalData.MessagingService
Description
Languages
C#
100%