Gmail Draft Update Body

v1.0.0

Atomic node skill to update the body text of an existing Gmail draft.

0· 43· 1 versions· 1 current· 1 all-time· Updated 1d ago· MIT-0

Lean Philosophy (Principles)

  • Kaizen (改善): This skill is an atomic node, strictly limited to updating the body of a draft, preventing complex multi-field string constructions.
  • Standardized Work (Hyojun Sagyo): This node represents the most efficient, standardized path for this specific task before automation.
  • Jidoka (自働化): This node includes autonomous defect detection.

Gmail Draft Update Body

This skill allows the agent to update the body of an existing Gmail draft using the native CLI.

Cognitive Directives

WHEN [The body of a Gmail draft needs to be set or updated] THEN [Execute the native terminal command gog gmail drafts update <draftId> --body "..." --json]

Schema Example

{
  "command": "gog gmail drafts update draft_id_123 --body \"Please review the attached invoice.\" --json"
}

Jidoka Validation Loop

  1. Try: Execute the command.
  2. Evaluate: Check the JSON response to confirm the body was updated.
  3. Correct/Fail: If it failed or hallucinated parameters, retry up to 3 times (max_retries=3).
  4. Proceed: Return the confirmation.

Expected Output

A JSON object confirming the draft was updated.

Version tags

latestvk970fgj4z1g1b7g0j04h085bkx85qfqp

Runtime requirements

Binsgog