Add reversible IMAP mail_trash actions #200
No reviewers
Labels
No labels
bug
enhancement
epic
needs-info
needs-triage
ready-for-agent
ready-for-human
svd:go
svd:hold
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dev/mail-mind-mcp!200
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-mail-mind-mcp-192-mail-trash-on-imap-tool-trash-4b95e9c6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Expose mail_trash with write scope and destructive hints. Cap deduplicated messages at trash_per_day, require UIDPLUS and COPYUID, atomically settle source deletions with change and peer events, and undo only messages remaining in Trash. Preserve move behavior and refuse JMAP trash. Add unit, HTTP, rollback and GreenMail coverage.
Pristine baseline: filtered 213 passed, 0 failed, 0 skipped; full 1482 passed, 0 failed, 8 skipped, 23 deselected. Final make check passes: 1504 passed, 0 failed, 8 skipped, 25 deselected, with lint, formatting, typing and audit passing. Filtered tests: 300 passed. Native wheel and source builds succeed.
GreenMail verification is deferred because the local container daemon is unreachable. Unexpected non-BladeError failures after transfer retain source rows until reconciliation, as specified by D8.
Closes #192
Co-Authored-By: gpt-6.1-sol noreply@openai.com