Skip to content
EmailDispatchFilterInput

Filter applied to a paginated EmailDispatchConnection. All fields are optional and combine with AND semantics — emailType matches any of the supplied template identifiers, sentAfter / sentBefore clamp the sent-at window, and query is a case-insensitive substring match against the subject line and recipient address.

Fields

emailType[String!]

Stable template identifiers to include (e.g. "registrationConfirmation", "productPurchase"). An empty array is treated as no filter.

sentAfterDateTime

Lower bound on sentAt. Accepts an ISO-8601 date or datetime. Dates are interpreted as the start of that day in UTC.

sentBeforeDateTime

Upper bound on sentAt. Accepts an ISO-8601 date or datetime. Dates are interpreted as the start of that day in UTC; pass the next day to include everything sent on a given calendar date.

queryString

Substring match against the subject and recipient address, case-insensitive. Whitespace is trimmed; empty strings are treated as no filter.

Used in

EmailDispatchFilter