---
id: ssh-gws-gmail-triage
name: "gws-gmail-triage"
url: https://skills.yangsir.net/skill/ssh-gws-gmail-triage
author: googleworkspace
domain: ai-productivity-automation
tags: ["gmail-api", "email-automation", "inbox-management", "google-workspace-cli", "productivity-tools"]
install_count: 22500
rating: 4.60 (298 reviews)
github: https://github.com/googleworkspace/cli
---

# gws-gmail-triage

> 用于显示Gmail未读收件箱的摘要信息，包括发件人、主题和日期，方便快速浏览。

**Stats**: 22,500 installs · 4.6/5 (298 reviews)

## Before / After 对比

### 快速处理未读邮件

| Metric | Before | After | Change |
|---|---|---|---|
| - | - | - | - |
| - | - | - | - |
| - | - | - | - |

## Readme

# gmail +triage

> **PREREQUISITE:** Read `../gws-shared/SKILL.md` for auth, global flags, and security rules. If missing, run `gws generate-skills` to create it.

Show unread inbox summary (sender, subject, date)

## Usage

```bash
gws gmail +triage
```

## Flags

| Flag | Required | Default | Description |
|------|----------|---------|-------------|
| `--max` | — | 20 | Maximum messages to show (default: 20) |
| `--query` | — | — | Gmail search query (default: is:unread) |
| `--labels` | — | — | Include label names in output |

## Examples

```bash
gws gmail +triage
gws gmail +triage --max 5 --query 'from:boss'
gws gmail +triage --format json | jq '.[].subject'
gws gmail +triage --labels
```

## Tips

- Read-only — never modifies your mailbox.
- Defaults to table output format.

## See Also

- [gws-shared](../gws-shared/SKILL.md) — Global flags and auth
- [gws-gmail](../gws-gmail/SKILL.md) — All send, read, and manage email commands


---
*Source: https://skills.yangsir.net/skill/ssh-gws-gmail-triage*
*Markdown mirror: https://skills.yangsir.net/api/skill/ssh-gws-gmail-triage/markdown*