gws-gmail-forward by googleworkspace/cli
npx skills add https://github.com/googleworkspace/cli --skill gws-gmail-forward前提条件: 请先阅读
../gws-shared/SKILL.md以了解身份验证、全局标志和安全规则。如果该文件缺失,请运行gws generate-skills命令来创建它。
将邮件转发给新的收件人
gws gmail +forward --message-id <ID> --to <EMAILS>
| 标志 | 是否必需 | 默认值 | 描述 |
|---|---|---|---|
--message-id | ✓ | — | 要转发的 Gmail 邮件 ID |
--to |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| ✓ |
| — |
| 收件人邮箱地址(多个地址用逗号分隔) |
--from | — | — | 发件人地址(用于“以...身份发送”/别名;省略则使用账户默认地址) |
--body | — | — | 可选备注,将包含在转发的邮件上方(纯文本,或使用 --html 标志的 HTML 内容) |
--attach | — | — | 附加文件(可多次指定) |
--cc | — | — | 抄送邮箱地址(多个地址用逗号分隔) |
--bcc | — | — | 密送邮箱地址(多个地址用逗号分隔) |
--html | — | — | 将 --body 内容视为 HTML 内容(默认为纯文本) |
--dry-run | — | — | 显示将要发送的请求内容而不实际执行 |
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --body 'FYI see below'
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --cc eve@example.com
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --body '<p>FYI</p>' --html
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com -a notes.pdf
每周安装量
4.8K
代码仓库
GitHub 星标数
22.2K
首次出现
2026年3月9日
安全审计
安装于
codex4.7K
opencode4.6K
gemini-cli4.6K
cursor4.6K
amp4.6K
github-copilot4.6K
PREREQUISITE: Read
../gws-shared/SKILL.mdfor auth, global flags, and security rules. If missing, rungws generate-skillsto create it.
Forward a message to new recipients
gws gmail +forward --message-id <ID> --to <EMAILS>
| Flag | Required | Default | Description |
|---|---|---|---|
--message-id | ✓ | — | Gmail message ID to forward |
--to | ✓ | — | Recipient email address(es), comma-separated |
--from | — | — | Sender address (for send-as/alias; omit to use account default) |
--body | — | — | Optional note to include above the forwarded message (plain text, or HTML with --html) |
--attach | — | — | Attach a file (can be specified multiple times) |
--cc | — | — | CC email address(es), comma-separated |
--bcc | — | — | BCC email address(es), comma-separated |
--html | — | — | Treat --body as HTML content (default is plain text) |
--dry-run | — | — | Show the request that would be sent without executing it |
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --body 'FYI see below'
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --cc eve@example.com
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --body '<p>FYI</p>' --html
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com -a notes.pdf
Weekly Installs
4.8K
Repository
GitHub Stars
22.2K
First Seen
Mar 9, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex4.7K
opencode4.6K
gemini-cli4.6K
cursor4.6K
amp4.6K
github-copilot4.6K
97,600 周安装