Skip to content

feat: rename gmail labels#391

Merged
steipete merged 3 commits intoopenclaw:mainfrom
adam-zethraeus:gmail-label-rename
Mar 8, 2026
Merged

feat: rename gmail labels#391
steipete merged 3 commits intoopenclaw:mainfrom
adam-zethraeus:gmail-label-rename

Conversation

@adam-zethraeus
Copy link
Copy Markdown
Contributor

Allow renaming gmail labels with the Gmail PATCH API.

usage:

> gog gmail labels rename Label_898937543117038682 usps
Renamed label: 📬 usps → usps (id: Label_898937543117038682)

@adam-zethraeus adam-zethraeus changed the title Gmail label renaming functionality feat: rename gmail labels Mar 3, 2026
@steipete steipete force-pushed the gmail-label-rename branch from d47c8cb to 65f4f18 Compare March 8, 2026 01:17
@steipete steipete merged commit 5989835 into openclaw:main Mar 8, 2026
1 check passed
@steipete
Copy link
Copy Markdown
Collaborator

steipete commented Mar 8, 2026

Landed via temp rebase onto main.

  • Gate: go test ./internal/cmd -run 'TestGmailLabelsRenameCmd_' -count=1, make ci
  • Land commit: 65f4f18
  • Merge commit: 59898358f620d80c8f8438e6b999c93f3f964834

Fixups included:

  • wrong-case custom label IDs no longer fall back to name resolution
  • dry-run op naming tightened for rename
  • README/spec/changelog updates
  • extra regression coverage for wrong-case IDs and non-404 fallback behavior

Thanks @adam-zethraeus!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants