dealdesk.log_email
Log inbound or outbound emails on a Desk card as status-update touchpoints, capturing direction, sender, recipient, subject, and body text.
Instructions
Log an inbound or outbound email on a desk card as a status-update touchpoint (email_incoming / email_outgoing). Persists structured from/to (plus subject/text). Do not use add_card_note for email logs.
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": {
"cardId": "<cardId>"
},
"name": "dealdesk.log_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Recipient email or label (persisted as statusUpdate.to) | |
| body | No | Alias for text | |
| from | No | Sender email or label (persisted as statusUpdate.from) | |
| text | No | Email body (maps to touchpoint note) | |
| cardId | Yes | Desk card id | |
| subject | No | Email subject | |
| direction | No | incoming → email_incoming; outgoing → email_outgoing (default incoming) | |
| projectId | No | DealDesk project id. Omit when the OAuth token or API key authorizes exactly one project. Required when Connect authorized several projects. | |
| contactIds | No | ||
| occurredAt | No | ISO datetime (defaults to now) |