batch_modify_gmail_message_labels
Add or remove labels from multiple Gmail messages simultaneously using batch processing. This tool helps organize email by applying consistent labeling across selected messages in one operation.
Instructions
Adds or removes labels from multiple Gmail messages in a single batch request.
Args: user_google_email (str): The user's Google email address. Required. message_ids (List[str]): A list of message IDs to modify. add_label_ids (Optional[List[str]]): List of label IDs to add to the messages. remove_label_ids (Optional[List[str]]): List of label IDs to remove from the messages.
Returns: str: Confirmation message of the label changes applied to the messages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_google_email | Yes | ||
| message_ids | Yes | ||
| add_label_ids | No | Label IDs to add to messages. | |
| remove_label_ids | No | Label IDs to remove from messages. |