gws-gmail-forward

仓库创建 2026年3月3日最近提交 4 天前SkillHot 收录 20 天前
▸ 精选理由

用于自动化转发和脚本化邮件流转。

▸ 风险提示

需要 Google 帐号授权并授予 Gmail API 权限。

这个 Skill 做什么

将指定邮件转发给新收件人并支持命令行参数。

把指定的一封邮件通过 Gmail 转发给新的收件人,适合把自动化脚本、审核流程或通知流中的邮件交接给其他人处理。通常用在需要保留原始邮件内容但更换收件人、做日志记录或批量转发的场景。命令行可指定目标邮件 ID 和收件人,方便把转发流程纳入自动化脚本。

▸ 展开 SKILL.md 英文原文

Gmail: Forward a message to new recipients.

办公文档Gmail邮件转发CLI通用
3.0w
Stars
1.8k
Forks
40
仓库内 Skill
+562
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-gmail-forward/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/googleworkspace/cli/main/skills/gws-gmail-forward/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# gmail +forward

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

Forward a message to new recipients

## Usage

```bash
gws gmail +forward --message-id <ID> --to <EMAILS>
```

## Flags

| 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) |
| `--n
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有