gmailctl

~2200 stars; complements google-api-python-client; Uses official Gmail API to sync filters. Auth via OAuth2. Diff-before-apply. No ToS risk.