Get Email Analytics
get_email_analyticsAnalyze email patterns including top senders, peak hours, attachment statistics, and response times across inbox and sent mail. Results cached for 5 minutes.
Instructions
Advanced analytics across inbox and sent: top senders/recipients, peak activity hours, attachment stats, and measured response times (null when insufficient data). Results cached for 5 minutes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Optional account ID to route this call to (multi-account configs). Omit to use the active account. Configured account IDs are listed in the settings UI (Accounts tab). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topSenders | Yes | ||
| volumeTrends | Yes | ||
| topRecipients | Yes | ||
| attachmentStats | No | ||
| peakActivityHours | No | ||
| responseTimeStats | No | Null when no sent replies could be matched to received emails. |