From bb1a2379618e4def1676af224eeba2dc8484890b Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 10 Jun 2025 14:32:20 +0200 Subject: [PATCH] updates --- components/ClientEmailSection.vue | 322 ++++++++++++++++++++-- components/EOISection.vue | 156 +++++++++-- components/EmailCredentialsSetup.vue | 75 ++++- pages/dashboard/file-browser.vue | 16 +- server/api/email/send.ts | 7 +- server/api/files/list-with-attachments.ts | 263 ++++++++++++++++++ server/tasks/eoi-reminders.ts | 33 +-- server/tasks/process-sales-emails.ts | 4 +- 8 files changed, 801 insertions(+), 75 deletions(-) create mode 100644 server/api/files/list-with-attachments.ts diff --git a/components/ClientEmailSection.vue b/components/ClientEmailSection.vue index 68ae514..4baf22b 100644 --- a/components/ClientEmailSection.vue +++ b/components/ClientEmailSection.vue @@ -6,8 +6,16 @@ + + + +
+ -
+
Compose Email + + Refresh Emails +
@@ -67,10 +84,11 @@
- -
- mdi-email-outline -
No email communication yet
+ +
+ mdi-email-outline +
No email communication yet
+
@@ -150,17 +168,121 @@ ref="contentTextarea" /> + + + + + mdi-draw-pen + Email Signature Settings + + + +
+ + + + + +
+
+
+
+ - +
+
Attachments
+ + + + + mdi-upload + Upload Files + + + mdi-folder-open + Browse Files + + + + + + + +
+ + Browse Files + +
+ + +
+
Selected from browser:
+ + mdi-file + {{ file.name }} + +
+
@@ -180,11 +302,31 @@ + + + + + + mdi-folder-open + Select Files from Browser + + + + + + + + +