updated mailbox app password

This commit is contained in:
2026-08-13 07:03:40 +01:00
parent 70fa1a5f2c
commit 70c05cc777
21 changed files with 618 additions and 33 deletions
+3 -1
View File
@@ -79,7 +79,8 @@ type MailboxFilterRule struct {
}
// MailboxAppPassword is the only credential an IMAP/SMTP client ever uses. Plaintext
// is shown once at creation and never stored.
// is shown once at creation and never stored. ExpiresAt is nil for a password that
// never expires (the default).
type MailboxAppPassword struct {
ID int64
MailboxID int64
@@ -88,6 +89,7 @@ type MailboxAppPassword struct {
IsActive bool
CreatedAt time.Time
LastUsedAt *time.Time
ExpiresAt *time.Time
}
// MailboxMessage is one stored message. CachedFrom/CachedSubject are plaintext by