modify_email
Manage email labels in Gmail using the Google Workspace MCP Server. Add, remove, archive, trash, or mark emails as read/unread programmatically.
Instructions
Modify email labels (archive, trash, mark read/unread)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
addLabels | No | Labels to add | |
id | Yes | Email ID | |
removeLabels | No | Labels to remove |
Input Schema (JSON Schema)
{
"properties": {
"addLabels": {
"description": "Labels to add",
"items": {
"type": "string"
},
"type": "array"
},
"id": {
"description": "Email ID",
"type": "string"
},
"removeLabels": {
"description": "Labels to remove",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"id"
],
"type": "object"
}