mail-client
由 romain-grosos 提供
Web & Frontend Development简介
IMAP/SMTP mail client for OpenClaw agents.
描述
该技能的功能
IMAP/SMTP mail client for OpenClaw agents using Python stdlib with no external dependencies. Reads, searches, sends, moves, marks, and deletes messages on any standard mail server. Works with any provider that supports standard IMAP/SMTP, excluding OAuth-only providers.
Uses only Python stdlib with zero external dependencies, so it deploys in restricted environments without any package installation.
何时使用
- Checking unread emails each morning
- Searching for emails by sender, subject, or date
- Sending automated alert emails from monitoring scripts
- Moving messages to archive folders by matching criteria
- Attaching files and reports to outbound emails
示例工作流
User asks: Find all unread emails about invoices and move them to Archive/Invoices
- 1
Connects to IMAP server using stored credentials
- 2
Searches for unread messages with 'invoice' in the subject
- 3
Lists matching messages with UIDs, senders, and subjects
- 4
Moves each matching message to the Archive/Invoices folder
Confirmation that matching invoice emails were moved to Archive/Invoices
前置要求
- MAIL_USER environment variable (your email address)
- MAIL_APP_KEY environment variable (application password generated from your mail provider's account settings)
- MAIL_SMTP_HOST environment variable
- MAIL_IMAP_HOST environment variable
安装
clawhub install romain-grosos/mail-client运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。