Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/CLI & Terminal
googleworkspace avatar

Gws Gmail Forward

googleworkspace/cliOfficial

Automates Gmail message forwarding through the command line, handling the tedious parts like preserving original attachments, inline images, and proper message formatting. You'll reach for this when building email workflows, automated reporting systems, or when you need to forward messages programmatically without clicking through Gmail's web interface. The HTML preservation is solid and it respects Gmail's 25MB attachment limits. Honestly, it's one of those utilities that seems niche until you need to forward 50 messages with specific notes attached, then it becomes indispensable.

installs
33.8K
GitHub stars
31.9K
last updated
Aug 21, 2026
View on GitHubSave

Install

$ npx -y skills add googleworkspace/cli --skill gws-gmail-forward --agent claude-code

Installs into .claude/skills of the current project.

Files

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

FlagRequiredDefaultDescription
--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 (

    , , , etc.) — no / wrapper needed.

  • Use --draft to save the forward as a draft instead of sending it immediately.

See Also

  • gws-shared — Global flags and auth
  • gws-gmail — All send, read, and manage email commands
SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

Repository
github.com/googleworkspace/cli
Categories
CLI & Terminal, Office & Documents

More from googleworkspace/cli

All 113
  • Gws Workflow33.6K
  • Gws Chat33.2K
  • Gws Gmail Reply All33K
  • Gws People33K
  • Gws Workflow Email To Task32.6K
  • Recipe Create Presentation32.5K
  • Gws Chat Send32K
  • Gws Workflow Meeting Prep32K
  • Gws Workflow Weekly Digest31.7K
  • Gws Workflow Standup Report31.7K
  • Recipe Draft Email From Doc31.7K
  • Persona Project Manager31.6K
  • Recipe Email Drive Link31.5K
  • Gws Events31.5K
  • Recipe Create Gmail Filter31.4K
  • Persona Researcher31.3K
  • Recipe Save Email Attachments31.1K
  • Recipe Backup Sheet As Csv31.1K
  • Recipe Organize Drive Folder31.1K
  • Persona Exec Assistant31K
  • Recipe Find Free Time30.9K
  • Gws Workflow File Announce30.9K
  • Recipe Compare Sheet Tabs30.9K
  • Gws Events Renew30.8K

Recommended

More CLI & Terminal
1googleworkspace avatargws-workflowgoogleworkspace/cliGoogle Workflow: Cross-service productivity workflows.33.6Kinstalls
2firecrawl avatarfirecrawl-monitorfirecrawl/cliDetect when content on a website changes and get notified by webhook or email — no cron jobs, scrapers, or diff scripts required. Use this skill whenever the us33.3Kinstalls
3googleworkspace avatargws-chatgoogleworkspace/cliGoogle Chat: Manage Chat spaces and messages.33.2Kinstalls
4googleworkspace avatargws-gmail-reply-allgoogleworkspace/cliGmail: Reply-all to a message (handles threading automatically).33Kinstalls
5googleworkspace avatargws-peoplegoogleworkspace/cliGoogle People: Manage contacts and profiles.33Kinstalls
6googleworkspace avatargws-workflow-email-to-taskgoogleworkspace/cliGoogle Workflow: Convert a Gmail message into a Google Tasks entry.32.6Kinstalls