Get email stats
get_email_statsRead workspace email delivery counts, rates and time series.
Without ``from_`` and ``to``, the range is the last seven days.
Hourly ranges are limited to eight days; all ranges to 92 days.
Returns ``from``, ``to``, ``bucket``, ``totals``, ``rates`` and ``series``.
Rates are null when the sent count is zero.
Open and click counts cover HTML emails only; plain-text emails lower these rates.
An upstream failure returns an error.Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_email_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of the counting window, with a time zone. Omitted: now. | |
| from_ | No | Start of the counting window, with a time zone. Omitted: seven days before ``to``. | |
| bucket | No | Time span each point in ``series`` counts. Hourly points suit short ranges; daily points suit weeks. | day |
| llm_model | No | Model ID of the calling agent. Optional. Recorded for analytics only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||