messages_from_sender
Retrieves all messages from one exact sender in a folder, up to 5,000, returning IDs and a count for bulk archive, delete, or move actions plus summaries of the first 50.
Instructions
Every message from one exact address in a folder, up to 5000.
Returns message_ids and count, ready for archive_messages, delete_messages or
move_messages with confirm_count=count, plus summaries of the first 50 to show
the user. For a quick look rather than a bulk action, search_messages with
from: is enough.
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": {
"sender": "<sender>"
},
"name": "messages_from_sender"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| folder | No | inbox | |
| sender | Yes |