Unlink email from job
unlink_job_emailDetach one email from a job, returning it to the unresolved pool. Use it when an email was filed on the wrong job; link_job_email re-attaches it. Any status the email already applied to the job stays, a pending status suggestion it raised for this job is dismissed, and the detach is logged on the job's activity. The email itself is not deleted. Calling it for an email not on the job changes nothing. Returns {unlinked: emailId}.
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": "unlink_job_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | Job the email is currently linked to (UUID from list_jobs). | |
| emailId | Yes | Linked email id, from list_job_emails. |