Skip to content

feat(gmail): add --exclude-labels to watch serve#194

Merged
steipete merged 1 commit intoopenclaw:mainfrom
salmonumbrella:feat/gmail-watch-exclude-labels
Feb 7, 2026
Merged

feat(gmail): add --exclude-labels to watch serve#194
steipete merged 1 commit intoopenclaw:mainfrom
salmonumbrella:feat/gmail-watch-exclude-labels

Conversation

@salmonumbrella
Copy link
Copy Markdown
Contributor

Fixes #178

Adds --exclude-labels to gog gmail watch serve (default: SPAM,TRASH). Messages whose labelIds intersect the exclude list are skipped (no hook call when all new messages are excluded).

Examples:

  • gog gmail watch serve --exclude-labels SPAM,TRASH --hook-url ...
  • disable filtering: gog gmail watch serve --exclude-labels="" ...

Tests:

  • make ci

@steipete steipete merged commit e593322 into openclaw:main Feb 7, 2026
4 checks passed
steipete added a commit that referenced this pull request Feb 7, 2026
@steipete
Copy link
Copy Markdown
Collaborator

steipete commented Feb 7, 2026

Landed via squash onto main.

  • Gate: make ci
  • Squash commit: e593322
  • Follow-up (changelog/help): 60762e3

Thanks @salmonumbrella!

klodr pushed a commit to klodr/gogcli that referenced this pull request Apr 22, 2026
klodr pushed a commit to klodr/gogcli that referenced this pull request Apr 22, 2026
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.

feat(gmail): add --exclude-labels flag to watch serve for spam filtering

2 participants