Add guarded IMAP draft editing and edit undo #205

Merged
Collaborator

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

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>
Add guarded IMAP draft editing and edit undo
All checks were successful
ci/woodpecker/pr/validation Pipeline was successful
94a82883f4
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>
svc-svd-writer deleted branch feat/svd-dev-mail-mind-mcp-195-mail-draft-edit-on-imap-tool-e-d2d9eeb4 2026-11-12 21:33:54 +00:00
Sign in to join this conversation.
No description provided.