n24q02m/email
让 AI 代理通过 IMAP/SMTP 收发和管理邮件
解决什么问题
没有它,AI 代理无法直接接触邮箱,只能靠人工转述或为每个账户单独编写 IMAP/SMTP 胶水代码。
- 读取并发送邮件
- 整理邮件文件夹
- 管理附件与多账户
适用客户端
- cursor
- windsurf
- cli
安装命令
npx @n24q02m/email auth [email protected] npx @n24q02m/email logout [email protected] npx @n24q02m/email messages search --query UNREAD --limit 5 --json npx @n24q02m/email messages read --uid 4211 --preview --max_chars 800 一键配置
{
"mcpServers": {
"email": {
"command": "npx",
"args": [
"--yes",
"@n24q02m/email@latest"
],
"env": {
"EMAIL_CREDENTIALS": "[email protected]:app-password"
}
}
}
} {
"mcpServers": {
"email": {
"type": "http",
"headers": {
"Authorization": "Bearer <your-token>"
},
"url": "https://<your-host>/mcp"
}
}
} 安全标记
- 需要 API Key: 未标注
- 本地运行: 是
- 访问网络: 是
- 需要 root: 否
维护状态
| 最近提交 | 2026-12-06(0d) |
|---|---|
| Star | 40 |
| 待处理 issue | 1 |
| 协议 | Apache-2.0 |
| 已归档 | 否 |
| 数据抓取于 | 2026-12-06 |
原文摘录
以下为仓库 README 原文,未做改写,用于核对上面的摘要。
IMAP/SMTP email for AI agents -- read, send, organize, and manage attachments across accounts.