local_port: get_env_number("LOCAL_IMAP_PORT", 143)?,
bind_address: get_env_var("LOCAL_IMAP_BIND_ADDRESS", Some("0.0.0.0".to_string()))?,
remote_host: get_env_var("REMOTE_IMAP_DOMAIN", None)?,
remote_port: get_env_number("REMOTE_IMAP_PORT", 993)?,
protocol: "IMAP",
}),
local_port: get_env_number("LOCAL_IMAP_PORT", 143)?,
bind_address: get_env_var("LOCAL_IMAP_BIND_ADDRESS", Some("0.0.0.0".to_string()))?,
remote_host: get_env_var("REMOTE_IMAP_DOMAIN", None)?,
remote_port: get_env_number("REMOTE_IMAP_PORT", 993)?,
protocol: "IMAP",
}),