extract_contacts
Extract unique contacts from recent email headers, sorted by frequency to identify frequent correspondents and build an address book.
Instructions
Extract unique contacts from recent email headers. Returns contacts sorted by frequency (most frequent first). Useful for finding frequent correspondents or building an address book.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account": "<account>"
},
"name": "extract_contacts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of recent emails to scan (default: 100, max: 500) | |
| account | Yes | Account name from list_accounts | |
| mailbox | No | Mailbox to scan (default: INBOX) |