Version
v0.19.0 (b25a3c0)
Summary
gog gmail drafts delete <id> permanently deletes a draft. Unlike gog gmail trash
(which moves messages to Trash, recoverable), there is no reversible path for drafts —
gog gmail trash accepts message IDs only, and gog gmail drafts exposes only
list/get/delete/send/create/update. For an agent driving a live mailbox, an
accidental drafts delete is unrecoverable.
Expected
Either:
- a reversible default (e.g. move the draft's underlying message to Trash) with a
--force/--permanent flag for the irreversible path, matching how gmail trash
treats messages; or
- if the Gmail API genuinely only supports permanent draft deletion, document that
clearly in gog gmail drafts delete --help so callers know there's no undo.
Notes
The underlying Gmail API distinction: users.drafts.delete is permanent, but the
draft's message can be trashed via users.messages.trash on draft.message.id.
A reversible mode could trash that message id instead of deleting the draft.
Filed from usage of the gogcli-mcp wrapper.
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.