Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 80
  • 977 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-email

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install imap-smtp-email in Claude Code

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

A

No 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 →

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.

imap-smtp-email Install

Add to stack

Loading.