Add guarded IMAP draft editing and edit undo #205
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!205
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/svd-dev-mail-mind-mcp-195-mail-draft-edit-on-imap-tool-e-d2d9eeb4"
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?
Add mail_draft_edit with live-target validation, retained reply/forward context, write-scope registration and reversible hints. Append replacements before removing guarded drafts, restore previous content on undo, and report new draft IDs. Reject replaced targets, settle concurrent requests deterministically, share the draft cap with edits, and refuse JMAP edits. Add unit, HTTP and GreenMail regression coverage.
Pristine baseline: 1534 passed, 0 failed, 8 skipped, 27 deselected. Final make check passed: 1601 passed, 0 failed, 8 skipped, 28 deselected; lint, types and vulnerability audit passed. Filtered tests: 104 passed. Native source distribution and wheel build passed.
GreenMail integration remains unverified: make test-integration could not start because the Podman socket at 127.0.0.1:63811 refused connections.
Closes #195
Co-Authored-By: gpt-6.1-sol noreply@openai.com