email

Read and search Lark Mail emails via IMAP with a local cache.

53|18|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/yjwong/lark-cli --skill email-yjwong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: email
Source: https://github.com/yjwong/lark-cli/tree/main/skills/email
Command: npx skills add https://github.com/yjwong/lark-cli --skill email-yjwong

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reading and locating relevant emails often requires manual, time-consuming sifting through multiple mailboxes. This skill provides fast access by using IMAP with a local cache to speed up lookups and preserve responses without repeated network requests.

Core Features & Use Cases

  • Check status: Verify IMAP connection and cache freshness.
  • Mailbox operations: List mailboxes, sync messages, and switch mailboxes for focused searches.
  • Search and view: Quickly search by sender, subject, or date and view or export messages.
  • Use Case: When you need to find a recent message from a colleague or retrieve an attachment, run a quick search and view the result without re-connecting to the server.

Quick Start

To begin, configure IMAP credentials with lark mail setup, then run lark mail status, lark mail sync, and lark mail search --from [email protected].

Frequently Asked Questions about email

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search Lark Mail messages locally using IMAP?

To search Lark Mail via IMAP, configure credentials with `lark mail setup`, sync mailboxes to build a local cache, then query by sender, subject, or date. The cache speeds up lookups and preserves responses without repeated network requests.

What is the best way to cache IMAP emails for fast searching?

Using a local IMAP cache is the best way to achieve fast email searching, as it preserves responses and eliminates repeated network requests. This skill syncs mailboxes locally so you can quickly query by sender, subject, or date.

Can I list and sync multiple mailboxes through an IMAP connection?

Yes, you can list and sync multiple mailboxes through a single IMAP connection. The skill supports listing available mailboxes, syncing messages to a local cache, and switching mailboxes to perform focused searches across them.

Do I need to configure Lark Mail credentials before searching emails?

Yes, you need to configure Lark Mail IMAP credentials before searching emails. You set this up using the `lark mail setup` command, which establishes the connection needed to sync mailboxes and perform local searches.

Why does my IMAP email search fail to return results?

IMAP email search failures often occur due to connection issues, outdated cache, or sync failures. You can run `lark mail status` to verify IMAP connection health and cache freshness, then resync mailboxes before searching again.

How do I view an email message found through an IMAP search?

After performing an IMAP search by sender, subject, or date, you can view or export the matched messages. The skill outputs results in JSON format, allowing you to read message content directly from the local cache.