(** JMAP Search Snippet. @see RFC 8621, Section 5 *) open Jmap_types open Jmap_methods (** SearchSnippet object. Note: Does not have an 'id' property. @see RFC 8621, Section 5 *) module Search_snippet : sig type t = { snippet_email_id : id; snippet_subject : string option; snippet_preview : string option; } end (** SearchSnippet/get: Args type. @see RFC 8621, Section 5.1 *) module Search_snippet_get_args : sig type t = { snippet_get_account_id : id; snippet_get_filter : Filter.t option; snippet_get_email_ids : id list; } end (** SearchSnippet/get: Response type. @see RFC 8621, Section 5.1 *) module Search_snippet_get_response : sig type t = { snippet_get_resp_account_id : id; snippet_get_resp_list : Search_snippet.t list; snippet_get_resp_not_found : id list option; } end