Skill54 starsChanged 11 months agoMITView on GitHub
Read and search emails from Lark Mail via IMAP with local caching. Use when user asks about email, inbox, or messages.
32 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- Littlpinguin/marketing-cockpit-templatetheir own version, first seen Oct 5, 2026
- lawless-m/claude-skillstheir own version, first seen Oct 4, 2026
- yahyabedirhan/skillstheir own version, first seen Oct 1, 2026
- fworks-tech/agenthoodtheir own version, first seen Sep 28, 2026
- zrong/skillstheir own version, first seen Sep 20, 2026
- raymassie/crucibletheir own version, first seen Sep 7, 2026
Used with
Projects with it also use content, i18n and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Rayan55050Skillcontent
Создание контента: посты, статьи, тексты
Also in 3 projects that use this
ffsshhttiikkSkilli18n
Internationalization and localization
Also in 4 projects that use this
xiaobei930Skilldatabase
Database design, query optimization, migrations, and indexing. Use when designing schemas, writing queries, or managing migrations.
Also in 3 projects that use this
iamladiSkillseo
Comprehensive programmatic SEO (pSEO) skill for auditing, architecting, and scaling to 100k+ pages. Covers metadata, schemas, internal linking, content strategy, and Core Web Vitals. Use when planning or auditing SEO at scale.
Also in 6 projects that use this
SentrySkillanalytics
Instrument and discover analytics events in Sentry's frontend UI. Use when adding tracking to buttons, pages, modals, or custom interactions, when defining new analytics events, when searching for existing events, when auditing analytics coverage for a feature, or when answering questions about how users interact with a feature. Trigger on "add analytics", "track event", "instrument analytics", "analytics event", "track click", "track page view", "add tracking", "what events exist for", "audit analytics", "how many people", "how many users", "are people using", "is anyone clicking", "usage of", "who is using".
Also in 3 projects that use this
SupabaseSkillcopywriting
Write or audit UI copy (buttons, labels, empty states, error messages, tooltips, form text) anywhere in the monorepo. Load it before shipping or reviewing any user-facing text — including when copy is incidental to the task, like a new feature that adds buttons, toasts, dialogs, or validation messages.
Also in 3 projects that use this
Other versions32 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- seahyc/lark-cowork-plugin★ 054% same
Wrote their own version · 31
- openai/plugins★ 7.3ksame name
- AgriciDaniel/claude-email★ 127same name
- magnus919/agent-skills★ 109same name
- analystacademy/claude-skills★ 39same name
- lightpointventures/claude-code-starter★ 36same name
- Merit-Systems/agentcash-skills★ 21same name
- wildsurfer/your-mail-mcp★ 16same name
- zrong/skills★ 11same name
- Littlpinguin/marketing-cockpit-template★ 8same name
- YepAPI/skills★ 8same name
21 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Read and search emails from Lark Mail via the lark CLI using IMAP with local caching.
- Distinctive: line 12
Before using mail commands, IMAP credentials must be configured:
- Very specific: line 22
Ensure lark is in your PATH, or use the full path to the binary.
- Distinctive: line 63
Run sync before searching if you need fresh data
- Distinctive: line 67
Search the local cache (fast, no network calls):
- Distinctive: line 104
All commands output JSON.
“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Email Management Skill
Read and search emails from Lark Mail via the lark CLI using IMAP with local caching.
Setup
Before using mail commands, IMAP credentials must be configured:
lark mail setupThis will prompt for IMAP credentials. See: https://www.larksuite.com/hc/en-US/articles/378111206512-log-in-to-lark-mail-through-a-third-party-email-client
Running Commands
Ensure lark is in your PATH, or use the full path to the binary. Set the config directory if not using the default:
lark mail <command>
# Or with explicit config:
LARK_CONFIG_DIR=/path/to/.lark lark mail <command>Commands Reference
Check Status
lark mail statusShows connection status and cache freshness. The freshness field indicates how stale the cached data is.
List Mailboxes
lark mail listSync Emails
Fetch new emails from the server into the local cache:
# Sync INBOX (default)
lark mail sync
# Sync with more parallel connections (faster for large mailboxes)
lark mail sync --workers 20
# Sync specific mailbox
lark mail sync --mailbox SentFlags:
--mailbox,-m: Mailbox to sync (default: INBOX)--workers,-w: Number of parallel connections (default: 10)
Important:
- Run sync before searching if you need fresh data
- Sync is resumable - if interrupted, running it again only fetches messages not already cached
Search Emails
Search the local cache (fast, no network calls):
# List recent emails
lark mail search
# Filter by sender
lark mail search --from alice@example.com
# Filter by subject
lark mail search --subject "Q4 Report"
# Filter by date range
lark mail search --since 2025-01-01 --before 2025-01-15
# Combined filters
lark mail search --from boss@example.com --since 2025-01-01 --limit 10
# Search different mailbox
lark mail search --mailbox SentView Email Content
lark mail show --uid <uid>The UID is obtained from search results.
Download as .eml
lark mail fetch --uid <uid>
lark mail fetch --uid <uid> --output ./emails/Output Formats
All commands output JSON.
mail status Output
{
"configured": true,
"host": "imap.larksuite.com",
"port": 993,
"username": "user@example.com",
"connection": "ok",
"cache": {
"last_sync": "2025-01-14T10:30:00+08:00",
"freshness": "15 minutes ago",
"uidvalidity": 12345,
"last_uid": 4521
}
}mail search Output
{
"mailbox": "INBOX",
"last_sync": "2025-01-14T10:30:00+08:00",
"freshness": "15 minutes ago",
"total_cached": 1523,
"results": [
{
"uid": 4521,
"message_id": "<abc123@mail.example.com>",
"date": "2025-01-14T09:15:00+08:00",
"from_addr": "alice@example.com",
"from_name": "Alice",
"subject": "Q4 Report"
}
],
"count": 1
}mail show Output
{
"uid": 4521,
"from": {
"email": "alice@example.com",
"name": "Alice"
},
"subject": "Q4 Report",
"date": "2025-01-14T09:15:00+08:00",
"message_id": "<abc123@mail.example.com>",
"body": "Hi,\n\nPlease find the Q4 report attached...\n\nBest,\nAlice"
}mail sync Output
{
"mailbox": "INBOX",
"new_messages": 5,
"total_cached": 1523,
"message": "synced 5 new messages"
}Error Handling
Errors return JSON:
{
"error": true,
"code": "ERROR_CODE",
"message": "Description"
}Common error codes:
CONNECTION_ERROR- IMAP connection failed (check credentials)SCOPE_ERROR- Missing mail permissions. Runlark auth login --add --scopes mailSYNC_ERROR- Failed to sync emailsSEARCH_ERROR- Cache query failedVALIDATION_ERROR- Missing required fields (e.g., --uid)IO_ERROR- File system error
Required Permissions
This skill requires the mail scope group. If you see a SCOPE_ERROR, the user needs to add mail permissions:
lark auth login --add --scopes mailTo check current permissions:
lark auth statusTypical Workflow
- Check cache freshness:
lark mail status - Sync if needed (based on freshness):
lark mail sync - Search emails:
lark mail search --from boss@example.com --since 2025-01-01 - View email details using UID from search:
lark mail show --uid 4521 - Download if needed:
lark mail fetch --uid 4521
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

