Skip to content

feat(gmail): full API parity — 18 new commands (#90)#101

Merged
omriariav merged 1 commit intomainfrom
feat/gmail-full-api
Feb 18, 2026
Merged

feat(gmail): full API parity — 18 new commands (#90)#101
omriariav merged 1 commit intomainfrom
feat/gmail-full-api

Conversation

@omriariav
Copy link
Owner

Summary

  • Adds 18 new Gmail commands for complete API parity: messages (untrash, delete, batch-modify, batch-delete), threads (trash-thread, untrash-thread, delete-thread), labels (label-info, create-label, update-label, delete-label), drafts (drafts, draft, create-draft, update-draft, send-draft, delete-draft), and attachments (attachment download)
  • Uses native Gmail batch APIs for batch-modify and batch-delete (efficient single API call)
  • Reuses existing patterns: RFC 2822 message builder for drafts, label name resolution for batch-modify

Test plan

  • All 18 new commands have httptest mock server tests
  • Command structure tests updated in TestGmailCommands (commands_test.go)
  • Flag presence tests for all new commands
  • Skill docs validation passes (TestSkillCommands_MatchCLI/gmail)
  • go vet ./cmd/ passes clean
  • All Gmail tests pass (go test ./cmd/ -run Gmail)

🤖 Generated with Claude Code

Messages: untrash, delete, batch-modify, batch-delete
Threads: trash-thread, untrash-thread, delete-thread
Labels: label-info, create-label, update-label, delete-label
Drafts: drafts, draft, create-draft, update-draft, send-draft, delete-draft
Attachments: attachment (download)

Includes tests with httptest mock servers for all new commands,
updated skill docs (v1.2.0), and command reference.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@omriariav omriariav merged commit 6b5a777 into main Feb 18, 2026
1 check passed
@omriariav omriariav deleted the feat/gmail-full-api branch February 18, 2026 20:59
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.

1 participant

Comments