Add reversible IMAP mail_trash actions #200

Merged
Collaborator

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

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>
Add reversible IMAP mail_trash actions
All checks were successful
ci/woodpecker/pr/validation Pipeline was successful
2e6a4bb89f
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>
Sign in to join this conversation.
No description provided.