generate_email_summary
AI-summarize an email thread, identified by its emailId (the email's id from the user's inbox). It summarizes that email and the earlier messages quoted in its body, so pass the newest email of the thread. The first summary is saved on the email record (list_emails then returns it as aiSummary), and later calls for that email, including a teammate's on a shared mailbox, return the saved summary instead of a new one.
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": {
"emailId": "<emailId>"
},
"name": "generate_email_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emailId | Yes | The id (_id) of the email/thread to summarize, from the user's inbox. |