本文へスキップ
Skillpedia
メールとメッセージ32k · #9170

gws-gmail-reply

できること

このツールは、既存のGmailメッセージへの返信を送ります。元のメッセージを返信に含めることで、会話の流れが自動的に整理されます。

使う場面

  • ✓特定のメールに返信したいとき。
  • ✓返信の宛先(To)やBCCに、さらに人を追加したいとき。
  • ✓すぐに送信せず、返信を下書きとして保存したいとき。

スキルのリンク

https://github.com/googleworkspace/cli/blob/main/skills/gws-gmail-reply/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/googleworkspace/cli/blob/main/skills/gws-gmail-reply/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“ID '123abc456def' のメールに「情報をありがとうございます。受け取りました。」と返信して”

毎週5つの新しいスキル。1分で読めます。

仕組み

返信したいメールのIDと、メッセージの文章を指定します。ツールが文章を挿入して返信を送り、会話の履歴も維持されます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

gmail +reply

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

Reply to a message (handles threading automatically)

Usage

gws gmail +reply --message-id <ID> --body <TEXT>

Flags

Flag Required Default Description
--message-id ✓ — Gmail message ID to reply to
--body ✓ — Reply body (plain text, or HTML with --html)
--from — — Sender address (for send-as/alias; omit to use account default)
--to — — Additional To email address(es), comma-separated
--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
--draft — — Save as draft instead of sending

Examples

gws gmail +reply --message-id 18f1a2b3c4d --body 'Thanks, got it!'
gws gmail +reply --message-id 18f1a2b3c4d --body 'Looping in Carol' --cc carol@example.com
gws gmail +reply --message-id 18f1a2b3c4d --body 'Adding Dave' --to dave@example.com
gws gmail +reply --message-id 18f1a2b3c4d --body '<b>Bold reply</b>' --html
gws gmail +reply --message-id 18f1a2b3c4d --body 'Updated version' -a updated.docx
gws gmail +reply --message-id 18f1a2b3c4d --body 'Draft reply' --draft

Tips

  • Automatically sets In-Reply-To, References, and threadId headers.
  • Quotes the original message in the reply body.
  • --to adds extra recipients to the To field.
  • Use -a/--attach to add file attachments. Can be specified multiple times.
  • With --html, the quoted block uses Gmail's gmail_quote CSS classes and preserves HTML formatting. Use fragment tags (<p>, <b>, <a>, etc.) — no <html>/<body> wrapper needed.
  • With --html, inline images in the quoted message are preserved via cid: references.
  • Use --draft to save the reply as a draft instead of sending it immediately.
  • For reply-all, use +reply-all instead.

See Also

よくある質問

ツールはどのメールに返信するかをどうやって判断するのですか?

各メールを識別する「message-id」という一意のコードを指定する必要があります。

添付ファイルを付けられますか?

はい、'--attach' オプションを使えば、返信にファイルを追加できます。

より多くの人に返信するにはどうすればよいですか?

'--to'、'--cc'、'--bcc' オプションを使って、メールアドレスを追加できます。

詳細

作者による元の説明

Gmail: Reply to a message (handles threading automatically).

repo: googleworkspace/cli

人気

GitHubのスター
32k
ランキング
#9170
ライセンス
Apache-2.0
更新日
2026/10/6

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル