Gmail でメールを検索する
Searches Gmail for emails using advanced query syntax with customizable result limits.
/plugin marketplace add shiiman/claude-code-plugins/plugin install shiiman-google@shiiman-claude-code-pluginsGmail でメールを検索します。Gmail の検索クエリ構文を使用できます。
$ARGUMENTS (必須): 検索クエリ--max <number>: 最大取得件数(デフォルト: 20)--include-body: 本文プレビューを含めるfrom:user@example.com - 送信者で検索to:user@example.com - 宛先で検索subject:会議 - 件名で検索has:attachment - 添付ファイル付きafter:2025/01/01 - 日付以降before:2025/01/31 - 日付以前is:unread - 未読is:starred - スター付きlabel:important - ラベルで検索python plugins/shiiman-google/scripts/google_gmail.py search --query "$ARGUMENTS" ${MAX:+--max "$MAX"} ${INCLUDE_BODY:+--include-body}
/shiiman-google:gmail-search from:boss@company.com
/shiiman-google:gmail-search subject:会議 after:2025/01/01 --max 50
/shiiman-google:gmail-search has:attachment is:unread --include-body