From 3d3a712ed2c7c1149fd49567a70ab12de478292d Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 10 Jun 2025 18:09:53 +0200 Subject: [PATCH] Fix email loading issues and improve performance - Removed limit on cached emails - now loads ALL cached emails from MinIO - Kept IMAP limit at 50 for reasonable performance - Added loading indicator showing when emails are being fetched - Fixed ES module import issue in email-utils.ts - Improved user experience with visual feedback during loading This ensures all email threads load completely while maintaining reasonable performance --- components/ClientEmailSection.vue | 8 +++++++- server/api/email/fetch-thread.ts | 13 +++++-------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/components/ClientEmailSection.vue b/components/ClientEmailSection.vue index e635f02..6001974 100644 --- a/components/ClientEmailSection.vue +++ b/components/ClientEmailSection.vue @@ -75,8 +75,14 @@ + +
+ +
Loading email history...
+
+ -
+