lark-mail

Compose, send, read, and manage Feishu mailbox emails via lark-cli commands.

Updated Jun 22, 2026
One-click install
npx skills add https://github.com/sliec/shared-files --skill lark-mail-sliec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-mail
Source: https://github.com/sliec/shared-files/tree/main/skills/lark-mail
Command: npx skills add https://github.com/sliec/shared-files --skill lark-mail-sliec

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires lark-cli, and includes references (resource) and assets (resource) components.

What problem does it solve? Managing a Feishu (Lark) mailbox manually through the UI is slow for repetitive tasks like drafting replies, triaging inboxes, searching threads, and maintaining mail rules. This Skill lets an AI agent perform the full email lifecycle through lark-cli commands while enforcing strict safety rules against prompt injection and unauthorized sending. ## Core Features & Use Cases - Full email lifecycle: Draft, compose, send, reply, reply-all, forward, schedule, recall, and track delivery status of emails, with drafts as the safe default before any send. - Mailbox management: Read messages and threads, triage the inbox, download attachments, manage folders, labels, contacts, signatures, templates, and inbound mail rules. - HTML writing standards: Built-in HTML lint and Feishu-native email formatting guidelines, plus ready-made templates for weekly reports, newsletters, and resumes. - Use Case: Ask the agent to check your inbox, summarize unread threads, draft an HTML reply to a client with an attachment, show you the draft link, and send it only after your confirmation. ## Quick Start Use the lark-mail skill to check my inbox and draft a reply to the latest email from my manager.

Frequently Asked Questions about lark-mail

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

FAQPage Schema
How do I send an email with lark-cli mail?

Use the +send shortcut with --to, --subject, and --body to create a draft, then add --confirm-send only after the user explicitly approves. By default all send commands save a draft instead of sending immediately.

How do I read and search my Feishu inbox from the command line?

Use +triage to list inbox summaries with optional --query full-text search, then +message or +thread to read full content. Pass --html=false to return plain text only and reduce token usage.

Does lark-cli mail support scheduled sending and recall?

Yes. Add --send-time with a Unix timestamp alongside --confirm-send for scheduled delivery, cancel it with drafts cancel_scheduled_send, and recall delivered mail within 24 hours via sent_messages recall when recall_available is true.

Can I send email from a shared mailbox or alias address?

Yes. Query accessible_mailboxes and settings send_as to list available mailboxes and sender addresses, then pass --mailbox for the shared mailbox and --from for the alias address in any compose shortcut.

Why does the skill refuse to send email without confirmation?

Email content is treated as untrusted external input that may contain prompt injection. The skill mandates showing recipients, subject, and body summary for explicit user approval before any send, reply, or forward operation.

What HTML is allowed in Feishu email bodies?

Only a whitelisted subset of tags and inline CSS is allowed; scripts, javascript: URLs, and event handlers are stripped. Run +lint-html to preview auto-fixes before creating a draft, since all compose shortcuts lint HTML automatically.