MCPInstall

spark-recipe-label-organize

Organize emails with labels and folders: attach labels, detach wrong ones, and move misfiled emails.

Installs
327
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/readdle/spark-cli-skills --skill spark-recipe-label-organize
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads spark-recipe-label-organize automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Recipe: Label & Folder Organize

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.

Steps

Step 1: Review current folder and label structure

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.

Step 2: Identify emails that need labeling

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"

Step 3: Attach labels

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"

Step 4: Detach incorrect labels

Remove a label that was applied incorrectly:

spark action detachLabel <id> --folder "user@example.com:WrongLabel"

Step 5: Move misfiled emails

Move emails to the correct folder:

spark action moveToFolder <id> --folder "user@example.com:Projects"

Step 6: Verify

Browse the organized label to confirm the right emails are there:

spark emails user@example.com:ProjectAlpha

Tips

  • Use 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.
  • For Gmail accounts, prefer attachLabel/detachLabel over moveToFolder since Gmail uses labels rather than folders.
  • Shared inbox labels use the format shared@company.com:LabelName or "Team Name:LabelName".
  • Combine with recipe-meeting-prep or project tracking workflows to label threads as part of a larger process.
  • Run this recipe periodically to keep project labels current as new related emails arrive.

FAQ

What does the spark-recipe-label-organize skill do?

Organize emails with labels and folders: attach labels, detach wrong ones, and move misfiled emails.

How do I install spark-recipe-label-organize?

Run npx skills add https://github.com/readdle/spark-cli-skills --skill spark-recipe-label-organize in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/spark-recipe-label-organize/ (personal) or .claude/skills/spark-recipe-label-organize/ (project).

Which AI agents can use spark-recipe-label-organize?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is spark-recipe-label-organize safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains spark-recipe-label-organize?

It is published by readdle in readdle/spark-cli-skills. It has 327 recorded installs.

More from readdle/spark-cli-skills

View all →

use-spark

readdle/spark-cli-skills

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.

spark-recipe-morning-standup

readdle/spark-cli-skills

Open the skill to read its SKILL.md instructions.

364 installs

spark-recipe-inbox-by-category

readdle/spark-cli-skills

Open the skill to read its SKILL.md instructions.

361 installs

spark-recipe-end-of-day

readdle/spark-cli-skills

Open the skill to read its SKILL.md instructions.

360 installs

spark-recipe-weekly-digest

readdle/spark-cli-skills

Open the skill to read its SKILL.md instructions.

358 installs

spark-recipe-meeting-prep

readdle/spark-cli-skills

Prepare for an upcoming meeting: check agenda, search for email context, look up attendee details, and flag open threads that should be raised.

Popular other skills

View category →

hyperframes-cli

heygen-com/hyperframes

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

1.3M installs

triage

mattpocock/skills

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

1M installs

ask-matt

mattpocock/skills

Ask which skill or flow fits your situation. A router over the skills in this repo.

778.4K installs

to-questionnaire

mattpocock/skills

Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

508.9K installs

wait-what

mattpocock/skills

Stop. That last message did not land: re-pitch it.

459.7K installs

loop-me

mattpocock/skills

Grill me about specs for the workflows I want to build, within this workspace.

447.9K installs