Chuyển đến nội dung
Skillpedia
Email và tin nhắn32k · #9167

gws-gmail-forward

Skill này làm gì

Công cụ này gửi lại một email bạn đã nhận cho người khác. Bạn chỉ cần cho biết email nào cần chuyển tiếp và gửi cho ai.

Khi nào nên dùng

  • ✓Khi bạn muốn chia sẻ một email với đồng nghiệp.
  • ✓Khi bạn cần gửi email đến nhiều người mà không phải sao chép và dán.
  • ✓Khi bạn muốn lưu một email thành bản nháp để gửi sau.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/googleworkspace/cli/blob/main/skills/gws-gmail-forward/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Chuyển tiếp email có ID '123abc' đến john@example.com và jane@example.com.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Bạn cung cấp mã định danh duy nhất của email cần chuyển tiếp và địa chỉ email của người nhận mới. Công cụ xử lý phần còn lại, bao gồm các tệp đính kèm gốc.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

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)
--no-original-attachments — — Do not include file attachments from the original message (inline images in --html mode are preserved)
--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 +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
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --no-original-attachments
gws gmail +forward --message-id 18f1a2b3c4d --to dave@example.com --draft

Tips

  • Includes the original message with sender, date, subject, and recipients.
  • Original attachments are included by default (matching Gmail web behavior).
  • With --html, inline images are also preserved via cid: references.
  • In plain-text mode, inline images are not included (matching Gmail web).
  • Use --no-original-attachments to forward without the original message's files.
  • Use -a/--attach to add extra file attachments. Can be specified multiple times.
  • Combined size of original and user attachments is limited to 25MB.
  • With --html, the forwarded block uses Gmail's gmail_quote CSS classes and preserves HTML formatting. Use fragment tags (<p>, <b>, <a>, etc.) — no <html>/<body> wrapper needed.
  • Use --draft to save the forward as a draft instead of sending it immediately.

See Also

Câu hỏi thường gặp

Tôi có thể thêm tin nhắn của riêng mình cùng email chuyển tiếp không?

Có, bạn có thể thêm một ghi chú ngắn hoặc văn bản HTML bằng các lệnh phù hợp.

Nếu tôi không muốn các tệp đính kèm gốc thì sao?

Bạn có thể dùng tùy chọn loại bỏ tệp đính kèm gốc, nhưng vẫn có thể thêm tệp đính kèm mới nếu cần.

Tôi có thể gửi CC hoặc BCC không?

Có, bạn có thể chỉ định người nhận CC và BCC ngoài người nhận chính.

Chi tiết

Mô tả gốc của tác giả

Gmail: Forward a message to new recipients.

repo: googleworkspace/cli

Độ phổ biến

Sao GitHub
32k
Vị trí xếp hạng
#9167
Giấy phép
Apache-2.0
Cập nhật
6/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự