MyClawMyClaw
HomeUse CasesPricingSkillsResourcesCompany
HomeUse CasesPricingSkills
Sign In
HomeUse CasesPricingSkills
ResourcesCompareBlogCommunity
CompanyAboutSupport
Sign In
MyClawMyClaw

Your AI agent, already running.

Product

OpenClaw HostingHermes Agent HostingSlackUse CasesPricingAlibaba Cloud

Tools

Passport Photo GeneratorTattoo DesignVirtual Background GeneratorLinkedIn Headshot GeneratorParty Invitation GeneratorAlbum Cover GeneratorDating Photo Generator

Compre

vs dotsvs Claudevs ChatGPTvs OpenClawvs Hermes Agentvs Grok Botvs Hostinger

Resources

BlogUpdatesSkillsModelsSupportCommunityCapybara

© 2023 Cubo World Inc. All rights reserved.

TermsPrivacyCookieGDPRContact
← Back to Skills
Search & Research
📚

imap-smtp-email

Featured

Read, search, and send email via IMAP/SMTP. Supports Gmail, Outlook, and more — with multi-account management and attachment handling.

gzlicanyiv1.0.0
ProductivityAutomationAPIDeveloper Tool
Connecting to VM...
Connecting to VM...
npx clawhub@latest install imap-smtp-email
97Stars
41.6kDownloads
530Current Installs
109All-time Installs
📦
v1.0.0Version
📅
Apr 30, 2026Updated

Requirements

nodenpmIMAP Server HostIMAP UsernameIMAP PasswordSMTP Server HostSMTP UsernameSMTP Password
View Source(ClawHub)

imap-smtp-email Skill Overview

The IMAP/SMTP Email skill gives your AI agent full email read and send capabilities using standard IMAP and SMTP protocols. Check for new messages, fetch full content, search by sender/subject/date, mark messages read or unread, download attachments, and send emails with CC, BCC, HTML bodies, and file attachments. Works with any standards-compliant mail server, including Gmail, Outlook, QQ Mail, and popular Chinese providers like 163.com, 126.com, and 188.com.

How to Use It

Step 1: Run in your terminal or install this skill on MyClaw

npx clawhub@latest install imap-smtp-email
or

Click the Install button at the top of this page for one-click setup

When to Use imap-smtp-email

Best Fit

  • Automated inbox monitoring — poll for new or unread messages on a schedule and trigger workflows based on incoming mail.
  • AI-powered email responses — let an agent read incoming emails and compose or send replies via SMTP.
  • Multi-account management — manage personal, work, and other inboxes from a single configured skill instance.
  • Attachment workflows — automatically download attachments from specific senders or subjects for further processing.

When Not to Use

  • Gmail-only users who prefer OAuth — this skill uses password/App Password authentication, not OAuth2 browser flows; if your organization enforces OAuth-only access, this skill won't work.
  • Proprietary APIs (e.g., Microsoft Graph, Gmail REST API) — if you need advanced provider-specific features (labels, calendar integration, push notifications), a provider-specific skill would be a better fit.

Key Features

Full IMAP Inbox Management

Check for new/unread messages, fetch complete email content by UID, search by sender, subject, date range, or read/unread status, and mark messages as read or unread. List all available mailboxes and folders on the server.

SMTP Email Sending

Send plain-text or HTML emails to one or more recipients, with optional CC and BCC. Supports file attachments (comma-separated), body content from files, and sender override — all from a single command.

Attachment Download

Download all attachments from a specific email by UID, or target a single file by name. Output directory is configurable, and file access is restricted by a whitelist for security.

Multi-Account Support

Configure any number of named accounts using a prefix convention in a single .env file. Switch between accounts at runtime with --account <name> — no separate config files needed.

Broad Provider Compatibility

Pre-tested with Gmail, Outlook/Office 365, QQ Mail, exmail.qq.com, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, vip.188.com, and yeah.net. Works with any standard IMAP/SMTP server.

Secure Configuration Storage

Credentials are stored at ~/.config/imap-smtp-email/.env with 600 permissions (owner read/write only). Configuration survives skill updates and falls back gracefully to a local .env for backward compatibility.

Use Cases

Daily unread email digest

Schedule the agent to run check --recent 24h each morning, fetch full content for flagged messages, and summarize them — giving you a daily briefing without opening your inbox.

Automated report delivery

After generating a report file, the agent sends it via SMTP with --attach report.pdf to a distribution list, including CC and a formatted HTML body — no human hand-off required.

Support ticket intake

Search the inbox for unread messages from a support address, fetch their content, extract key details, and either route them to a ticketing system or send an acknowledgment reply automatically.

Multi-account inbox consolidation

Configure a personal and a work account, then query both with --account personal and --account work to surface unread emails across all accounts in a single agent session.

Requirements

  • IMAP credentials (required) — IMAP_HOST, IMAP_USER, IMAP_PASS for your incoming mail server.
  • SMTP credentials (required) — SMTP_HOST, SMTP_USER, SMTP_PASS for your outgoing mail server.
  • Gmail users: a regular Google account password is not accepted. Generate a 16-character App Password at https://myaccount.google.com/apppasswords (requires 2-Step Verification).
  • 163.com users: use the authorization code (授权码) from web settings, not your login password.
Connecting to VM...
npx clawhub@latest install imap-smtp-email
97Stars
41.6kDownloads
530Current Installs
109All-time Installs
📦
v1.0.0Version
📅
Apr 30, 2026Updated

Requirements

nodenpmIMAP Server HostIMAP UsernameIMAP PasswordSMTP Server HostSMTP UsernameSMTP Password
View Source(ClawHub)

FAQ

Reviews

0 reviews

Log in to write a review

No reviews yet. Be the first to share your experience!