/inboxes/{inbox_id}/threads/searchSearch inbox threads
Searches an inbox’s threads by email text, sender or recipient, attachment presence, and date. Combine filters to find threads matching all specified criteria; email-level filters must match the same email, and results may lag new emails by up to about a minute. Search covers the 10,000 threads with the newest matching email when more than 10,000 threads match.
The inbox_id path parameter must be a UUID for an inbox; an email address is not accepted. Keep query to 256 characters and 32 words, each sender or recipient filter to at most 20 values, and labels to at most 50 UUIDs; use only the listed folders and true or false for read and has_attachment. Dates must use a date or ISO 8601 timestamp, end_date must not precede start_date, limit must be between 1 and 100, and only one of after and before may be supplied as a thread ID in UUID format.