一键导入
spark-recipe-label-organize
Organize emails with labels and folders: attach labels, detach wrong ones, and move misfiled emails.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Organize emails with labels and folders: attach labels, detach wrong ones, and move misfiled emails.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use the spark CLI to access the user's Spark email data - list emails, search by topic, read threads, check calendar events, find availability, look up contacts, and view team info. Use when the user asks about their emails, calendar, contacts, meetings, or scheduling.
Full unsubscribe audit: scan inbox, archive, and GateKeeper for newsletter senders, classify by volume and engagement, detect phishing and duplicate subscriptions, then unsubscribe via spark action or extracted footer links.
Executive assistant persona for Spark. Morning briefings, draft replies, schedule management, and contact lookup.
Founder / CEO persona for Spark. High-volume triage, aggressive delegation, cross-team oversight, and selective engagement.
Freelancer / solo operator persona for Spark. Multi-client management, invoice follow-ups, availability, and quick responses.
Meeting manager persona for Spark. Meeting preparation, transcript review, follow-up drafts, and scheduling.
| name | spark-recipe-label-organize |
| description | Organize emails with labels and folders: attach labels, detach wrong ones, and move misfiled emails. |
| metadata | {"version":"1.0.0","requires":{"skills":["use-spark"],"accessLevel":"triage"}} |
Organize emails using labels and folders. Attach project labels, detach incorrect ones, and move misfiled emails to the right location.
Prerequisite: Read the use-spark base skill for command reference and filter syntax.
Access level required: triage.
spark folders
For a specific account:
spark folders user@example.com
Note the existing labels and their message counts. Identify labels that are empty or no longer relevant.
Search for project-related or topic-related emails that should be labeled:
spark search "project name"
spark emails --filter "from:client@company.com newer_than:30d"
Add a label to an email without removing it from its current location:
spark action attachLabel <id> --folder "user@example.com:ProjectAlpha"
Label multiple emails in a batch:
spark action attachLabel <id1> --folder "user@example.com:ProjectAlpha"
spark action attachLabel <id2> --folder "user@example.com:ProjectAlpha"
Remove a label that was applied incorrectly:
spark action detachLabel <id> --folder "user@example.com:WrongLabel"
Move emails to the correct folder:
spark action moveToFolder <id> --folder "user@example.com:Projects"
Browse the organized label to confirm the right emails are there:
spark emails user@example.com:ProjectAlpha
folders to discover the exact qualified names for labels (e.g., user@gmail.com:MyLabel).attachLabel adds a label without moving the email - the email stays in its current folder too. This is how Gmail labels work.detachLabel removes a label without moving the email elsewhere.moveToFolder physically moves the email to a different folder - use this for IMAP-style organization.attachLabel/detachLabel over moveToFolder since Gmail uses labels rather than folders.shared@company.com:LabelName or "Team Name:LabelName".recipe-meeting-prep or project tracking workflows to label threads as part of a larger process.