Agent skill

email

Email operations via IMAP/SMTP. Trigger for inbox checking, reading, drafting, or sending emails. Requires `.config/email.json` setup.

Stars 65
Forks 25

Install this agent skill to your Project

npx add-skill https://github.com/JinFanZheng/kode-sdk-csharp/tree/main/examples/Kode.Agent.WebApiAssistant/skills/email

SKILL.md

Mental Model

Email is for asynchronous communication with audit trail. Unlike chat (instant, casual), emails are formal, searchable, and have recipients/CC/threads.

Trigger Patterns

User Intent Action Requires Approval
"Check email" / "Any new mail?" email_list No
"Read email from X" email_read No
"Send email to X" email_send Yes
"Draft email" email_draft No
"Archive/delete email" email_move / email_delete Delete: Yes

Pre-flight Checks (Before Sending)

CRITICAL: Always confirm before email_send

  1. Show full email: To, CC, Subject, Body
  2. Check for sensitive content (passwords, tokens, confidential)
  3. Warn if body mentions "attachment" but none attached
  4. Alert if sending outside business hours (user's timezone)

Anti-Patterns (NEVER)

  • Don't send without user confirmation
  • Don't guess recipient addresses - ask if unclear
  • Don't include passwords/API keys in emails
  • Don't send empty emails or ones with placeholder text
  • Don't delete without showing what will be deleted

Common Queries

Check unread:

email_list unreadOnly=true limit=10

From specific sender:

email_list from="boss@company.com"

Search by subject:

email_list subject="Report"

After sending important email, notify:

notify_send title="Email Sent" content="Quarterly report sent to boss@company.com" priority="high"

Setup Required

.config/email.json must exist (user provides credentials):

json
{
  "imap": {"host": "imap.gmail.com", "port": 993, "auth": {"user": "...", "pass": "..."}},
  "smtp": {"host": "smtp.gmail.com", "port": 587, "auth": {"user": "...", "pass": "..."}}
}

Expand your agent's capabilities with these related and highly-rated skills.

JinFanZheng/kode-sdk-csharp

food

餐饮推荐/吃什么/哪里吃/咖啡酒吧甜品夜宵。用于用户问“附近有什么好吃的/餐厅推荐/人均多少/营业到几点/要不要预约/适合亲子或请客”等。 默认做“查询时间快照”(当地时间)并给来源链接;不编造店名/地址/营业时间/人均/评分;信息不足先问2-3个关键问题。

65 25
Explore
JinFanZheng/kode-sdk-csharp

itinerary

行程安排/行程规划(国内为主)。当用户要你“做行程/排几天怎么玩/把交通酒店景点串起来/做出差安排/把计划写进日历”时使用。 产出可执行的日程(含时间块),并在引用外部事实时附来源链接与来源当地时间;绝不编造。

65 25
Explore
JinFanZheng/kode-sdk-csharp

data-files

File router that routes uploaded files to appropriate analysis skills. CSV/Excel/JSON → data-analysis, Images → data-viz, PDF/HTML → data-base.

65 25
Explore
JinFanZheng/kode-sdk-csharp

featbit

FeatBit official documentation real-time Q&A assistant. Activate when user mentions "FeatBit", "feature flag", "feature toggle", or asks about FeatBit SDK integration, deployment, or configuration. Capabilities: Real-time fetching from docs.featbit.co and GitHub, supporting SDK integration, Docker/K8s deployment, feature flag configuration, A/B testing, and more.

65 25
Explore
JinFanZheng/kode-sdk-csharp

news

News briefing + verification workflow. Use when the user asks for news, headlines, daily briefing, “today's news”, “latest updates”, breaking news, or requests specific current numbers/events that require reliable sources and timestamps. Requires source links + local published time; NEVER fabricate.

65 25
Explore
JinFanZheng/kode-sdk-csharp

knowledge

External knowledge capture and retrieval. Trigger when user wants to save notes, bookmarks, code snippets, or reference material for later access.

65 25
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results