You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(gmail): add label CRUD and apply/remove commands
Adds `gmail labels {list,create,delete,rename}` for managing labels
and `gmail label <id...>` with repeatable --apply/--remove and a
--thread switch for operating on messages or threads. System labels
are blocked from delete/rename but can be applied/removed (so
--remove INBOX archives, --apply STARRED stars).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: claude/skills/agentio-gmail/SKILL.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: agentio-gmail
3
-
description: Use when interacting with Gmail - list, read, search, send (with attachments/inline images), draft, reply (via --reply-to), archive, mark, download attachments, or export to PDF. Requires agentio CLI with a configured Gmail profile.
3
+
description: Use when interacting with Gmail - list, read, search, send (with attachments/inline images), draft, reply (via --reply-to), archive, mark, manage labels (list/create/delete/rename, apply/remove on messages or threads), download attachments, or export to PDF. Requires agentio CLI with a configured Gmail profile.
4
4
---
5
5
6
6
# Gmail Operations with agentio
@@ -111,6 +111,26 @@ agentio gmail mark <message-id> --read
111
111
agentio gmail mark <message-id> --unread
112
112
```
113
113
114
+
## Manage Labels
115
+
116
+
```bash
117
+
agentio gmail labels list
118
+
agentio gmail labels create <name># Use "/" for nesting, e.g. "auto/receipts"
119
+
agentio gmail labels delete <name-or-id># User labels only (system labels refused)
-`--apply` and `--remove` are repeatable and can be combined in one call.
130
+
- IDs are message IDs by default; pass `--thread` to operate on threads instead.
131
+
- Labels can be referenced by name or ID. System labels (`INBOX`, `STARRED`, `UNREAD`, `IMPORTANT`, ...) work too — e.g. `--remove INBOX` archives, `--apply STARRED` stars.
132
+
- Idempotent: applying a label that's already present (or removing one that isn't) is a successful no-op.
0 commit comments