emails_search
Search HubSpot emails using specific filters to find messages by properties, date ranges, or content criteria for targeted email management and analysis.
Instructions
Search emails with specific filters
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filterGroups | Yes | ||
| properties | No | ||
| limit | No | ||
| after | No | ||
| sorts | No |
Input Schema (JSON Schema)
{
"properties": {
"after": {
"type": "string"
},
"filterGroups": {
"items": {
"additionalProperties": false,
"properties": {
"filters": {
"items": {
"additionalProperties": false,
"properties": {
"operator": {
"enum": [
"EQ",
"NEQ",
"LT",
"LTE",
"GT",
"GTE",
"BETWEEN",
"IN",
"NOT_IN",
"HAS_PROPERTY",
"NOT_HAS_PROPERTY",
"CONTAINS_TOKEN",
"NOT_CONTAINS_TOKEN"
],
"type": "string"
},
"propertyName": {
"type": "string"
},
"value": {}
},
"required": [
"propertyName",
"operator"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"filters"
],
"type": "object"
},
"type": "array"
},
"limit": {
"maximum": 100,
"minimum": 1,
"type": "number"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"sorts": {
"items": {
"additionalProperties": false,
"properties": {
"direction": {
"enum": [
"ASCENDING",
"DESCENDING"
],
"type": "string"
},
"propertyName": {
"type": "string"
}
},
"required": [
"propertyName",
"direction"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"filterGroups"
],
"type": "object"
}