求个star没毛病吧 ![]()
2025/07/03 10:38: v2.3.0 - Docker部署权限问题修复
2025/07/02 17:07: v2.2.0 - 批量账户导入性能优化
2025/07/01 15:35:v2.1.0 - 修复若干bug,增加一键复制功能
2025/06/27 17:07:v2.0.0 - 已更新账户管理功能,大伙可以方便的管理失活账户了,另外做了一些性能优化
2025/06/26 17:32:v1.1.0 - 已更新鉴权功能,大伙可以设置个强密码安心的反代了
2025/06/26 16:32:v1.0.0 - 正式上线
废话不多说,先上效果图
部署之后,你能干什么?
- 可视化outlook邮箱管理
- 一键批量导入
- 邮件内容支持html渲染,同时支持纯文本和源码查看
- 直接调用api获取邮件…
-
避免域名邮箱不可使用
别扯了,搞快点,api如何调用?
📝 1. 注册账户
curl -X POST "http://localhost:8000/accounts" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer admin123" \
-d '{
"email": "[email protected]",
"refresh_token": "your_refresh_token",
"client_id": "your_client_id"
}'
响应示例:
{
"email_id": "[email protected]",
"message": "Account verified and saved successfully."
}
📬 2. 获取邮件列表
# 获取所有邮件(智能聚合)
curl "http://localhost:8000/emails/[email protected]?folder=all&page=1&page_size=100" \
-H "Authorization: Bearer admin123"
# 仅收件箱
curl "http://localhost:8000/emails/[email protected]?folder=inbox" \
-H "Authorization: Bearer admin123"
# 仅垃圾箱
curl "http://localhost:8000/emails/[email protected]?folder=junk" \
-H "Authorization: Bearer admin123"
响应示例:
{
"email_id": "[email protected]",
"folder_view": "all",
"page": 1,
"page_size": 100,
"total_emails": 1247,
"emails": [...]
}
📖 3. 获取邮件详情
curl "http://localhost:8000/emails/[email protected]/INBOX-12345" \
-H "Authorization: Bearer admin123"
响应示例:
{
"message_id": "INBOX-12345",
"subject": "重要:项目进展更新",
"from_email": "[email protected]",
"to_email": "[email protected]",
"date": "2024-01-20T10:30:00Z",
"body_plain": "邮件正文...",
"body_html": "<html>...</html>"
}
贴主自用,信誉保证
强烈建议docker compose部署,真丶一键部署。 同时,你可以修改docker-compose.yml中的ports项改变端口映射。示例如下:
# 将 docker 中的 8000 端口映射到本机 8756 端口
ports:
- "8756:8000"






