-
Notifications
You must be signed in to change notification settings - Fork 597
gmail drafts delete is permanent — add a reversible option (or document the irreversibility) #656
Copy link
Copy link
Closed
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:data-lossThis issue is about lost, corrupted, or silently dropped user/session/config data.This issue is about lost, corrupted, or silently dropped user/session/config data.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:data-lossThis issue is about lost, corrupted, or silently dropped user/session/config data.This issue is about lost, corrupted, or silently dropped user/session/config data.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Version
v0.19.0 (b25a3c0)
Summary
gog gmail drafts delete <id>permanently deletes a draft. Unlikegog gmail trash(which moves messages to Trash, recoverable), there is no reversible path for drafts —
gog gmail trashaccepts message IDs only, andgog gmail draftsexposes onlylist/get/delete/send/create/update. For an agent driving a live mailbox, an
accidental
drafts deleteis unrecoverable.Expected
Either:
--force/--permanentflag for the irreversible path, matching howgmail trashtreats messages; or
clearly in
gog gmail drafts delete --helpso callers know there's no undo.Notes
The underlying Gmail API distinction:
users.drafts.deleteis permanent, but thedraft's message can be trashed via
users.messages.trashondraft.message.id.A reversible mode could trash that message id instead of deleting the draft.
Filed from usage of the gogcli-mcp wrapper.