jpskill.com
💬 コミュニケーション コミュニティ

gws-gmail-send

Gmailを使って、メールの送信先、件名、本文などを指定し、簡単にメールを送ることができるSkill。

📜 元の英語説明(参考)

Gmail: Send an email.

🇯🇵 日本人クリエイター向け解説

一言でいうと

Gmailを使って、メールの送信先、件名、本文などを指定し、簡単にメールを送ることができるSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o gws-gmail-send.zip https://jpskill.com/download/19179.zip && unzip -o gws-gmail-send.zip && rm gws-gmail-send.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/19179.zip -OutFile "$d\gws-gmail-send.zip"; Expand-Archive "$d\gws-gmail-send.zip" -DestinationPath $d -Force; ri "$d\gws-gmail-send.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して gws-gmail-send.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → gws-gmail-send フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

gmail +send

前提条件: 認証、グローバルフラグ、およびセキュリティルールについては、../gws-shared/SKILL.md をお読みください。ファイルがない場合は、gws generate-skills を実行して作成してください。

メールを送信します

使用方法

gws gmail +send --to <EMAILS> --subject <SUBJECT> --body <TEXT>

フラグ

フラグ 必須 デフォルト 説明
--to 受信者のメールアドレス(複数可、カンマ区切り)
--subject メールの件名
--body メールの本文(プレーンテキスト、または --html を使用したHTML)
--from 送信元アドレス(send-as/エイリアス用。アカウントのデフォルトを使用する場合は省略)
--attach ファイルを添付します(複数回指定可能)
--cc CCのメールアドレス(複数可、カンマ区切り)
--bcc BCCのメールアドレス(複数可、カンマ区切り)
--html --body をHTMLコンテンツとして扱います(デフォルトはプレーンテキスト)
--dry-run 実行せずに送信されるリクエストを表示します
--draft 送信せずに下書きとして保存します

gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi Alice!'
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --cc bob@example.com
gws gmail +send --to alice@example.com --subject 'Hello' --body '<b>Bold</b> text' --html
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --from alias@example.com
gws gmail +send --to alice@example.com --subject 'Report' --body 'See attached' -a report.pdf
gws gmail +send --to alice@example.com --subject 'Files' --body 'Two files' -a a.pdf -a b.csv
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --draft

ヒント

  • RFC 5322 フォーマット、MIME エンコーディング、および base64 を自動的に処理します。
  • --from を使用して、プライマリアドレスではなく、設定された send-as エイリアスから送信します。
  • -a/--attach を使用してファイルを添付します。複数回指定できます。合計サイズ制限は 25MB です。
  • --html を使用する場合、フラグメントタグ(<p><b><a><br> など)を使用してください。<html>/<body> ラッパーは不要です。
  • --draft を使用して、メッセージをすぐに送信するのではなく、下書きとして保存します。

[!CAUTION] これは書き込みコマンドです。実行する前にユーザーに確認してください。

関連項目

  • gws-shared — グローバルフラグと認証
  • gws-gmail — すべてのメール送信、読み取り、管理コマンド
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

gmail +send

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

Send an email

Usage

gws gmail +send --to <EMAILS> --subject <SUBJECT> --body <TEXT>

Flags

Flag Required Default Description
--to Recipient email address(es), comma-separated
--subject Email subject
--body Email body (plain text, or HTML with --html)
--from Sender address (for send-as/alias; omit to use account default)
--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 +send --to alice@example.com --subject 'Hello' --body 'Hi Alice!'
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --cc bob@example.com
gws gmail +send --to alice@example.com --subject 'Hello' --body '<b>Bold</b> text' --html
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --from alias@example.com
gws gmail +send --to alice@example.com --subject 'Report' --body 'See attached' -a report.pdf
gws gmail +send --to alice@example.com --subject 'Files' --body 'Two files' -a a.pdf -a b.csv
gws gmail +send --to alice@example.com --subject 'Hello' --body 'Hi!' --draft

Tips

  • Handles RFC 5322 formatting, MIME encoding, and base64 automatically.
  • Use --from to send from a configured send-as alias instead of your primary address.
  • Use -a/--attach to add file attachments. Can be specified multiple times. Total size limit: 25MB.
  • With --html, use fragment tags (<p>, <b>, <a>, <br>, etc.) — no <html>/<body> wrapper needed.
  • Use --draft to save the message as a draft instead of sending it immediately.

[!CAUTION] This is a write command — confirm with the user before executing.

See Also