Re-match a mailbox's email to jobs
reprocess_emailsAdmins, and managers for mailboxes on their profiles. Re-reads a mailbox's ingested email with today's matcher and reports every email whose job would change (move, unlink, link). A dry run unless apply is true; apply works in batches of limit and returns how many remain. Applying detaches and connects exactly as link_job_email and unlink_job_email do. Run the dry run first and confirm with the user before apply.
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": {
"emailAccountId": "<emailAccountId>"
},
"name": "reprocess_emails"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How far back to look; defaults to 183. | |
| apply | No | Make the changes. Omit for a dry run that only reports them. | |
| kinds | No | Which changes to apply; defaults to all three. | |
| limit | No | Most changes to apply in this call; defaults to 100. | |
| emailAccountId | Yes | The mailbox whose ingested email to re-match (id from list_email_accounts). |