---
title: "EmailFilterCondition"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.hostedez.com/llms.txt
> Use this file to discover all available pages before exploring further.

Path: Hosted EZ REST API

## Fields

- `EmailFilterCondition.field` (string, required)
  - one of `"from"`, `"to"`, `"cc"`, `"to_or_cc"`, `"subject"`, `"header"`, `"body"`, `"size"`
- `EmailFilterCondition.headerName` (string | null, required)
- `EmailFilterCondition.operator` (string, required)
  - one of `"contains"`, `"not_contains"`, `"equals"`, `"not_equals"`, `"starts_with"`, `"ends_with"`, `"matches"`, `"exists"`, `"over"`, `"under"`
- `EmailFilterCondition.value` (string, required)


Source: https://docs.hostedez.com/api/schemas/EmailFilterCondition/index.md
