Link email to job
link_job_emailAttach an ingested email to a job by hand, pulling in the rest of its conversation (same thread) and other unlinked mail on the job's profile that looks like it is about this job. Use it to file mail from list_unresolved_emails or move a mis-filed email from another job; to detach use unlink_job_email. The emails are replayed oldest to newest, so a newer one can change the job's status or raise a status suggestion, while one older than the job's latest status-setting email only attaches. Re-linking does not re-apply emails already applied. An email the caller cannot reach is 404. Returns the job's full email list afterwards, as list_job_emails does.
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": {
"jobId": "<jobId>",
"emailId": "<emailId>"
},
"name": "link_job_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Job to attach the email to (UUID from list_jobs). | |
| emailId | Yes | Ingested email id, from list_unresolved_emails or another job's list_job_emails. |