Update an existing mail template. Supports --inspect (read-only projection), --print-patch-template (prints a JSON skeleton for --patch-file), and flat flags (--set-subject / --set-name / etc). Internally it GETs the template, applies the patch, rewrites <img> local paths to cid…
setCcstringReplace the Cc recipient list. Pass --set-cc="" to clear the list.
setTostringReplace the To recipient list. Separate multiple addresses with commas. Pass --set-to="" to clear the list.
attachstringAdditional non-inline attachment file path(s), comma-separated. Each file is uploaded to Drive and appended to the template's attachments[] in the exact flag order.
setBccstringReplace the Bcc recipient list. Pass --set-bcc="" to clear the list.
inspectbooleanInspect the template without modifying it. Returns the current template projection (name/subject/addresses/attachments). No write is performed.
mailboxstringMailbox email address that owns the template (default: me).
setNamestringReplace the template name (≤100 chars).
patchFilestringPath to a JSON patch file (relative path only). Shape is the same as --print-patch-template output.
setSubjectstringReplace the template subject.
templateIdstringTemplate ID to update. Required except when using --print-patch-template by itself.
setPlainTextbooleanSet is_plain_text_mode=true.
printPatchTemplatebooleanPrint a JSON template describing the supported --patch-file structure. No network call is made.
No reviewed structured output summary is available.
API key connection. Risk level 3 of 5.
Free Action
No published Skills explicitly reference this Action yet.