 
 /// The `Footer` mail setting allows you to specify a footer that will be
 /// appended to the bottom of every email.
-public struct Footer {
+public struct Footer: Encodable {
     
     // MARK: - Properties
     //=========================================================================

    public init() {
        self.text = nil
        self.html = nil
    }
    
}

/// Encodable conformance
extension Footer: Encodable {
    
    public enum CodingKeys: String, CodingKey {
        case enable, text, html
    }
    
    public func encode(to encoder: Encoder) throws {
        var container = encoder.container(keyedBy: CodingKeys.self)
        try container.encode(self.enable, forKey: .enable)
        try container.encodeIfPresent(self.text, forKey: .text)
        try container.encodeIfPresent(self.html, forKey: .html)
    }
    
}

    public let html: String?
    
    /// A `Bool` indicating if the setting is enabled or not.
    public let enable: Bool
    
    
    // MARK: - Initialization
