Repository navigation
DaMail v0.2.1
这个版本可以同步邮箱的全部历史邮件,并且下载超大邮件时拿到完整原件。
新功能
- 邮箱高级设置新增「同步全部历史邮件」,也可以设置超过十年的范围
- REST API 新增忽略名单接口:GET / POST /api/v1/ignored-senders、DELETE /api/v1/ignored-senders/:pattern(需要 automation 权限和全部邮箱的访问权限)
改进
- 扩大已有邮箱的历史范围后自动补齐更早的邮件,已有邮件、标记和分析结果保留;缩小范围不会删除本地邮件
- 部分更新邮箱设置时,没传的字段保持不变
修复
- 超过 MAX_MESSAGE_MB 的邮件,下载和通过 REST API 读取时只拿到前 2MB;现在会按需取回完整原件并缓存
- Outlook(Graph)邮箱扩大历史范围后,补回的邮件可能和已有邮件编号冲突
This release can sync a mailbox's entire history, and downloads of very large messages now return the full original.
New
- Mailbox advanced settings add "Sync all historical mail", and ranges beyond ten years are allowed
- REST API ignore-list endpoints: GET / POST /api/v1/ignored-senders and DELETE /api/v1/ignored-senders/:pattern (requires the automation scope and access to all mailboxes)
Improvements
- Widening an existing mailbox's history range backfills older mail and keeps existing mail, flags and analysis; narrowing it never deletes local mail
- Partial mailbox updates leave omitted fields unchanged
Fixes
- Messages over MAX_MESSAGE_MB only returned the first 2MB on download and through the REST API; the full original is now fetched on demand and cached
- Backfilled mail on Outlook (Graph) mailboxes could collide with existing message IDs after widening the history range
Docker
docker pull ghcr.io/gopkg-dev/damail:v0.2.1