modify_emails
Batch-modify emails with actions such as mark as read, move to folder, or add labels. Specify message IDs and target folder or labels for the operation.
Instructions
Batch-modify emails using the actions allowed for this connection. Moving requires folder; labels require labels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| folder | No | Target folder for action=move | |
| labels | No | Labels for addLabels/removeLabels | |
| accountId | No | Account to operate on. Optional when exactly one account is connected. | |
| messageIds | Yes |