mail_pin_email
Pin or unpin emails to set a flagged status, marking them with a star or pin icon for easy identification and prioritization in your mailbox.
Instructions
Pin or unpin one or more emails (sets the $flagged keyword).
Pinned emails appear with a flag/star/pin icon in the mail client.
Args: email_ids: List of JMAP email IDs to pin or unpin. pin: True to pin, False to unpin (default True).
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": {
"email_ids": "<email_ids>"
},
"name": "mail_pin_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_ids | Yes | ||
| pin | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |