aboutsummaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
authorBobby <[email protected]>2026-03-08 08:11:41 +0530
committerBobby <[email protected]>2026-03-08 08:11:41 +0530
commitb2a231280ce3265d20cdc5f317ae1bcc5eb59924 (patch)
tree90eb1a5f5409025db47097e2e083361f8fa52555 /database
parent662dd2069dc8590e8b54823a33726464cf10c4e7 (diff)
downloaddove-b2a231280ce3265d20cdc5f317ae1bcc5eb59924.tar.xz
dove-b2a231280ce3265d20cdc5f317ae1bcc5eb59924.zip
Add webmail email management templates and storage utilities
- Implemented email listing template with read/unread and star functionality. - Created empty state template for webmail when no emails are present. - Developed folder navigation template for managing email folders. - Added email preview template for displaying selected email details. - Introduced storage utilities for managing email files, including creation, reading, moving, and deletion. - Defined constants for storage paths and error messages related to file operations.
Diffstat (limited to 'database')
-rw-r--r--database/migration.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/database/migration.go b/database/migration.go
index efd3aba..a99b57c 100644
--- a/database/migration.go
+++ b/database/migration.go
@@ -13,6 +13,7 @@ func migrate() {
&mail.User{},
&mail.Mailbox{},
&mail.Alias{},
+ &mail.Folder{},
&mail.Email{},
&mail.Tag{},
&mail.Attachment{},