pub struct EmailParseParams {
pub properties: Option<Vec<String>>,
pub body_properties: Option<Vec<String>>,
pub fetch_text_body_values: Option<bool>,
pub fetch_html_body_values: Option<bool>,
pub fetch_all_body_values: Option<bool>,
pub max_body_value_bytes: Option<u64>,
pub extra: Map<String, Value>,
}Expand description
Extra args for Email/parse (RFC 8621 §4.9).
Mirrors the body-fetch options of EmailGetParams plus a properties
override. All fields are optional; absent fields use server defaults.
Fields§
§properties: Option<Vec<String>>Override the set of Email properties returned per parsed message
(RFC 8621 §4.9). When None, the server returns the default set
documented in the spec.
body_properties: Option<Vec<String>>Override the set of body-part properties returned (RFC 8621 §4.9).
fetch_text_body_values: Option<bool>If true, inline values for text/plain body parts (RFC 8621 §4.9).
fetch_html_body_values: Option<bool>If true, inline values for text/html body parts (RFC 8621 §4.9).
fetch_all_body_values: Option<bool>If true, inline values for all body parts (RFC 8621 §4.9).
max_body_value_bytes: Option<u64>Truncate body values to at most this many bytes (RFC 8621 §4.9).
extra: Map<String, Value>Catch-all for vendor / site / private extension fields not covered by the typed fields above. Preserves unknown fields across deserialize/serialize round-trip per workspace extras-preservation policy (see workspace AGENTS.md).