imap-smtp-email
Skill by freestylefly
Reads, searches and sends email over IMAP and SMTP for AI assistants. It suits users with 163.com, 126.com, Gmail, Outlook or other standard mail servers who want help managing their inbox.
Install imap-smtp-email
Built from the published package, never by AI.
git clone --depth 1 https://github.com/freestylefly/wesight /tmp/wesight && mkdir -p ~/.claude/skills && cp -r /tmp/wesight/SKILLs/imap-smtp-email ~/.claude/skills/imap-smtp-emailRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/freestylefly/wesight /tmp/wesight && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/wesight/SKILLs/imap-smtp-email ~/.gemini/antigravity-cli/skills/imap-smtp-emailAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The imap-smtp-email skill lets an AI assistant read and send email through IMAP and SMTP. It can check for new or unread messages, fetch full message content by UID, download attachments, search mailboxes with filters, and mark messages as read or unread. It can also list mailboxes and send email with attachments, CC, BCC and HTML bodies.
The skill runs Node.js scripts (imap.js and smtp.js) and reads its settings from a .env file in the skill folder. The source says WeSight Settings manages that file, so the assistant runs commands directly and only asks the user to check email settings if credentials fail. A table lists server settings for 163.com, 126.com, 188.com, Gmail, Outlook, QQ Mail and yeah.net. It suits users who want an assistant to handle their mailbox.
Written from the project's SKILL.md and checked against it.
What it can do
- checkChecks for new or unread emails, with optional limit, mailbox and recent-time filters.
- fetchFetches the full content of an email by UID.
- downloadDownloads all attachments from an email, or one named attachment.
- searchSearches emails by unread or read status, sender, subject and date range.
- mark-read / mark-unreadMarks one or more messages as read or unread.
- list-mailboxesLists all available mailboxes and folders.
- sendSends email with CC, BCC, HTML body, body files and attachments.
- testTests the SMTP connection by sending a test email to yourself.
What you need
- Node.js with npm install for dependencies
- An email account with IMAP and SMTP access
- Server credentials in a .env file or WeSight Settings
- An App Password for Gmail if 2FA is enabled
Try asking
- Check my unread emails from the last 2 hours
- Search my inbox for emails from billing@example.com this month
- Send an email to team@example.com with report.pdf attached
Good to know
- 163.com needs an authorization code and IMAP/SMTP enabled in web settings.
- Self-signed certificates require setting REJECT_UNAUTHORIZED to false.
- Gmail needs an App Password when 2FA is enabled.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: SKILLs/imap-smtp-email/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
README.md4 KB -
SKILL.md7 KB -
_meta.json134 B -
package.json764 B -
scripts/imap.js16 KB
Show all 7 files
-
scripts/smtp.js7 KB -
setup.sh5 KB
Alternatives to imap-smtp-email
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
imap-smtp-email: common questions
Which email providers does imap-smtp-email support?
The source lists Gmail, Outlook, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, vip.188.com, yeah.net and QQ Mail, and says it works with any standard IMAP/SMTP server.
Does the skill need a password or authorization code?
It needs your account credentials. For 163.com the source says to use an authorization code instead of the account password, and for Gmail an App Password when 2FA is on.
Can the assistant download email attachments?
Yes. The download command saves all attachments from an email by UID, or only the attachment named with the file option.
How do I install imap-smtp-email?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is imap-smtp-email free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is imap-smtp-email safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to imap-smtp-email?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
