Record important information to long-term memory for learning user preferences, successful patterns, and error lessons. When you need to remember user preferences, save successful patterns, or record lessons from errors.
中文简介正在准备中。当前显示原文说明。
Send emails via SMTP (Gmail, Outlook, etc.). Supports attachments, HTML content, and multiple recipients. Use when user asks to send email, compose email, or email someone.
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
通过 SMTP 协议发送邮件,支持 Gmail、Outlook、企业邮箱等。
如果使用 Gmail,需要:
联系 IT 部门获取:
在 .env 文件中添加以下环境变量:
# SMTP 配置
SMTP_SERVER=smtp.gmail.com
SMTP_PORT=587
SMTP_USERNAME=your_email@gmail.com
SMTP_PASSWORD=your_app_password # Gmail 使用应用专用密码
SMTP_USE_TLS=true
或者首次使用时运行配置脚本。
调用 send_email.py 脚本:
python scripts/send_email.py \
--to recipient@example.com \
--subject "邮件主题" \
--body "邮件正文"
| 参数 | 必需 | 说明 |
|---|---|---|
--to | 是 | 收件人邮箱(多个用逗号分隔) |
--subject | 是 | 邮件主题 |
--body | 是 | 邮件正文 |
--cc | 否 | 抄送邮箱(多个用逗号分隔) |
--bcc | 否 | 密送邮箱(多个用逗号分隔) |
--attachment | 否 | 附件路径(多个用逗号分隔) |
--is_html | 否 | 正文是否为 HTML 格式(默认 false) |
--from_name | 否 | 发件人显示名称 |
发送简单邮件:
python scripts/send_email.py \
--to friend@example.com \
--subject "周末聚会" \
--body "这周末有空吗?一起吃饭吧!"
发送 HTML 邮件带附件:
python scripts/send_email.py \
--to boss@company.com \
--subject "项目报告" \
--body "<h1>项目进度报告</h1><p>详见附件...</p>" \
--is_html true \
--attachment "report.pdf,chart.xlsx" \
--from_name "张三"
发送给多人:
python scripts/send_email.py \
--to "alice@example.com,bob@example.com" \
--cc "manager@example.com" \
--subject "会议纪要" \
--body "今天的会议纪要如下..."
SMTP_SERVER=smtp.gmail.com
SMTP_PORT=587
SMTP_USE_TLS=true
SMTP_SERVER=smtp-mail.outlook.com
SMTP_PORT=587
SMTP_USE_TLS=true
SMTP_SERVER=smtp.qq.com
SMTP_PORT=587
SMTP_USE_TLS=true
SMTP_SERVER=smtp.163.com
SMTP_PORT=587
SMTP_USE_TLS=true
SMTP_SERVER=smtp.company.com
SMTP_PORT=587
SMTP_USE_TLS=true
Gmail:
Outlook:
运行测试脚本验证配置:
python scripts/test_smtp.py
如果测试失败,检查:
.env 文件配置是否正确还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Record important information to long-term memory for learning user preferences, successful patterns, and error lessons. When you need to remember user preferences, save successful patterns, or record lessons from errors.
中文简介正在准备中。当前显示原文说明。
Click page elements by CSS selector or text content. When you need to click buttons, links, or select options. PREREQUISITE - must use browser_navigate to open target page first.
中文简介正在准备中。当前显示原文说明。
Extract page content and element text from current webpage. When you need to read page information, get element values, scrape data, or verify page content.
中文简介正在准备中。当前显示原文说明。
List all open browser tabs with their index, URL and title. When you need to check what pages are open, manage multiple tabs, or find a specific tab to switch to.
中文简介正在准备中。当前显示原文说明。
Navigate browser to specified URL to open a webpage. When you need to open webpages or start web automation. PREREQUISITE - must call before browser_click/type operations. Auto-starts browser if not running.
中文简介正在准备中。当前显示原文说明。
Open new browser tab and navigate to URL (keeps current page open). When you need to open additional page without closing current, or multi-task across pages. PREREQUISITE - must confirm browser is running first.
中文简介正在准备中。当前显示原文说明。