Skip to content

Conversation

@salmonumbrella
Copy link
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 steipete:main Feb 7, 2026
4 checks passed
steipete added a commit that referenced this pull request Feb 7, 2026
@steipete
Copy link
Owner

steipete commented Feb 7, 2026

Landed via squash onto main.

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

Thanks @salmonumbrella!

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