namespace MailSharp.MailClient.Models; public class MailSettings { public int MessageListFetchLimit { get; set; } = 200; public int MessageListCacheTtlMinutes { get; set; } = 5; public int ContactMailSearchCacheTtlMinutes { get; set; } = 5; public int MessageListPageSize { get; set; } = 20; public int ContactMailsPageSize { get; set; } = 20; public int SessionIdleTimeoutHours { get; set; } = 24; public string DataProtectionKeysPath { get; set; } = @"C:\Data\DataProtection\Keys"; public string DefaultImapServer { get; set; } = "127.0.0.1"; public int DefaultImapPort { get; set; } = 993; public SecurityMode DefaultImapSecurity { get; set; } = SecurityMode.SslTls; public string DefaultSmtpServer { get; set; } = "127.0.0.1"; public int DefaultSmtpPort { get; set; } = 465; public SecurityMode DefaultSmtpSecurity { get; set; } = SecurityMode.SslTls; public int LogRetentionDays { get; set; } = 30; }