imap-smtp-email

imap-smtp-email is a skill for Claude Code, Codex from netease-youdao/LobsterAI. It costs 82 tokens per session (2,725 once invoked), scanned A, original, MIT.

An email skill for reading and sending messages through IMAP and SMTP, the standard protocols used by many email services. It supports searching mailboxes, managing read status, and sending attachments.

In plain words
What is it for?
Use it to check unread mail, search and fetch messages, mark messages read or unread, and send email through Gmail, Outlook, or other standard IMAP/SMTP servers.
Why use it?
It lets an agent work with existing email accounts without requiring a separate mail application or service-specific workflow.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to check unread mail, search and fetch messages, mark messages read or unread, and send email through Gmail, Outlook, or other standard IMAP/SMTP servers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/netease-youdao/lobsterai/imap-smtp-email
About the project

LobsterAI is an open-source desktop AI agent that operates files, commands, browsers, documents, spreadsheets, slides, messaging channels, and scheduled jobs in a user's working environment. It supports office work, research, and custom multi-agent workflows, while catalogue add-ons extend the agent with additional skills and workflows.

netease-youdao/LobsterAI · 6,012 stars · on GitHub · lobsterai.youdao.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add netease-youdao/LobsterAI --skill imap-smtp-email
Clone the repo
git clone --depth 1 https://github.com/netease-youdao/LobsterAI

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for imap-smtp-email

README.md
[![agentmods](https://agentmods.dev/badge/skills/netease-youdao/lobsterai/imap-smtp-email/github.svg)](https://agentmods.dev/skills/netease-youdao/lobsterai/imap-smtp-email)
Your own site
<a href="https://agentmods.dev/skills/netease-youdao/lobsterai/imap-smtp-email"><img src="https://agentmods.dev/badge/skills/netease-youdao/lobsterai/imap-smtp-email/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for imap-smtp-email

Your own site · 80×15
<a href="https://agentmods.dev/skills/netease-youdao/lobsterai/imap-smtp-email"><img src="https://agentmods.dev/badge/skills/netease-youdao/lobsterai/imap-smtp-email.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,725 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket warn 18 Mar 2026
  • Snyk warn 4 Mar 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 14
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 24
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.02725
Opus 5 $0.00041 $0.01362
Sonnet 5 $0.00016 $0.00545
Haiku 4.5 $0.00008 $0.00272

Measured 13d ago against content hash c4ce850b6da8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

imap-smtp-email scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/attachment-storage.js, scripts/config.js, scripts/imap.js, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

SKILLs/imap-smtp-email/SKILL.md · 250 lines

How it starts

The opening of the file, as written. The whole thing — 250 lines — stays where its author put it; the contents beside it link to each section on GitHub.

IMAP/SMTP Email Tool

Read, search, and manage email via IMAP protocol. Send email via SMTP. Supports Gmail, Outlook, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, vip.188.com, and any standard IMAP/SMTP server.

Important: Configuration is Pre-configured

The accounts.json configuration file is automatically managed by LobsterAI Settings (邮箱设置). Legacy .env configuration is still supported as a fallback for older users. Do NOT ask the user to create or edit these files — just run the commands directly. If credentials are wrong, the scripts will return a clear error message; only then should you inform the user to check their email settings.

The configuration files are located in this skill's directory (same folder as this SKILL.md file). The scripts load them automatically via absolute paths, regardless of the current working directory.

Use the provided scripts as the only email transport interface. Do not write temporary IMAP/SMTP scripts, do not use raw sockets, OpenSSL, net, tls, or alternate mail clients, and do not inspect .env, accounts.json, or script source unless the official command output explicitly reports missing configuration and the user asks you to diagnose it. If an official command fails or times out, report that command result and suggest checking LobsterAI Settings; do not implement a fallback protocol client.

Do not claim that node-imap, nodemailer, or another dependency is broken unless an official script or verified stack trace proves it. A successful command means the configured email account works; a timeout means the current command timed out, not that the dependency is defective.

Command results intentionally redact account metadata. In user-facing replies, use the redacted account label/email from the JSON result and do not repeat full configured email addresses unless the user explicitly asks for the exact address. Email content fields such as sender, subject, and message body may still be shown when they are the requested result.

Read the full file on GitHub · 250 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 250 lines · 82 tokens per session scan A c4ce850b6da8

Subscribe to this mod's changes

imap-smtp-email is a skill published in the GitHub repository netease-youdao/LobsterAI (6,012 stars, last pushed yesterday), licensed MIT. It adds 82 tokens to every session and 2,725 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

meeting-notes

Use when the user asks to capture, structure, or summarize meeting notes / call notes / 1:1 discussion / standup notes. Produces a standard template with attendees, agenda, decisions, action items (owner + deadline), and open questions.

shiwenwen/hope-agent · 55 tokens

subscription-manager

Create and manage scheduled subscription tasks. Use when the user wants to set up recurring reminders, periodic reports, scheduled checks, or any automated tasks that run on a schedule. Supports cron expressions, fixed intervals, and one-time executions.

wecode-ai/Wegent · 49 tokens

ha-settings

Manage Hope Agent application settings through conversation. Use when the user wants to view or change any app configuration: theme, language, enhanced focus indicators, proxy, temperature, notifications, tool timeout, context compaction, automatic session titles, web search, GitHub issue reporting, memory, embedding…

shiwenwen/hope-agent · 214 tokens

cron-mastery

Master OpenClaw's timing systems. Use for scheduling reliable reminders, setting up periodic maintenance (janitor jobs), and understanding when to use Cron vs Heartbeat for time-sensitive tasks.

xyva-yuangui/XyvaClaw · 41 tokens

smart-messenger

Send rich messages to Feishu chats including text, images, cards, and scheduled messages. Use when the user asks to send a message, share an image, create a card/report, schedule a notification, or manage message templates. Integrates with screenshot-sender and vision-reader for multimedia messaging.

xyva-yuangui/XyvaClaw · 63 tokens

system-control

Control and monitor macOS system functions. Use when the user asks about system info (CPU, memory, disk, battery), app management (launch/quit apps, window list), notifications, clipboard operations, volume/brightness control, or any OS-level task on macOS.

xyva-yuangui/XyvaClaw · 58 tokens