跳到正文
TakoAPI
返回技能列表

mail-client

由 romain-grosos 提供

Web & Frontend Development
272下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Connects to IMAP server using stored credentials

  2. 2

    Searches for unread messages with 'invoice' in the subject

  3. 3

    Lists matching messages with UIDs, senders, and subjects

  4. 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 或你在用的任意编程智能体里。

链接