EmailSearchSnippet
The EmailSearchSnippet type of the TypeScript SDK, which search.fullText take or answer.
type EmailSearchSnippet = {
id: string
preview: string | null
subject: string | null
}Fields
| Field | Type | Description |
|---|---|---|
id | string | Message ULID this snippet belongs to |
preview | string | null | Highlighted HTML snippet for the message body, or null if not matched |
subject | string | null | Highlighted HTML snippet for the subject line, or null if not matched |
Used by
| Method | What it does |
|---|---|
search.fullText | Full-text search a mailbox |
Used in
EmailSearchResult, EmailSearchSnippetsResult, SemanticSearchResult.