public struct AccountConfig: Sendable, Codable, Equatable {
	public var id: String
	public var name: String
	public var email: String
	public var imapHost: String
	public var imapPort: Int
	public var smtpHost: String?
	public var smtpPort: Int?
	public var smtpSecurity: SMTPSecurity?

	public init(
		id: String,
		name: String,
		email: String,
		imapHost: String,
		imapPort: Int,
		smtpHost: String? = nil,
		smtpPort: Int? = nil,
		smtpSecurity: SMTPSecurity? = nil
	) {
		self.id = id
		self.name = name
		self.email = email
		self.imapHost = imapHost
		self.imapPort = imapPort
		self.smtpHost = smtpHost
		self.smtpPort = smtpPort
		self.smtpSecurity = smtpSecurity
	}
}
