recipe-create-gmail-filter
Create a Gmail filter to automatically label, star, or categorize incoming messages.
ソース情報
- リポジトリ
- googleworkspace/cli
- ソースの最終更新活動
- 2026年3月31日 18:32
- 検出された SKILL.md の言語
- 英語
- スター
- 31,534
- フォーク
- 1,908
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
SKILL.md を表示中
SKILL.md
ソースの指示 · 読み取り専用プレビュー- name
- recipe-create-gmail-filter
- description
- Create a Gmail filter to automatically label, star, or categorize incoming messages.
- metadata
- {"version":"0.22.5","openclaw":{"category":"recipe","domain":"productivity","requires":{"bins":"[Truncated]","skills":"[Truncated]"}}}
# Create a Gmail Filter
> **PREREQUISITE:** Load the following skills to execute this recipe: `gws-gmail`
Create a Gmail filter to automatically label, star, or categorize incoming messages.
## Steps
1. List existing labels: `gws gmail users labels list --params '{"userId": "me"}' --format table`
2. Create a new label: `gws gmail users labels create --params '{"userId": "me"}' --json '{"name": "Receipts"}'`
3. Create a filter: `gws gmail users settings filters create --params '{"userId": "me"}' --json '{"criteria": {"from": "receipts@example.com"}, "action": {"addLabelIds": ["LABEL_ID"], "removeLabelIds": ["INBOX"]}}'`
4. Verify filter: `gws gmail users settings filters list --params '{"userId": "me"}' --format table`
GitHubで見る