Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

email-send-direct

БесплатноБез исполняемых скриптовНе проверен

Single email: dry-run, reply, attachments

aAAaqwqот aAAaqwq★ 123 звезды на GitHub

Об этом скилле

Email Send Direct

Send a single email via Gmail API from CLI

When to use

  • "write an email to X"
  • "send email to Y"
  • "reply to the email"
  • Any single email sending (not mass campaign)

IMPORTANT: Confirmation rule

ALWAYS first --dry-run, show preview to the user, and only after "yes" send without --dry-run.

Composing Guidelines

Before writing a single word:

  1. Read the full thread — inbox AND sent, not just the latest message. Use email-read skill to pull last 3-5 days of correspondence with this contact.
  2. Check CRM — read leads.csv and people.csv for context: deal stage, last activity, relationship notes. The email must reflect where we actually are, not where we were a week ago.
  3. Identify what they asked — list every question or request from their last message. Each one must be answered.

Writing rules:

  • Answer their questions first. Don't open with pleasantries or context-setting. If they asked "can you invoice monthly?" — start with "Yes, we'll submit monthly invoices."
  • Match the thread tone. If the conversation is casual ("Hey Ivan"), reply casual. If formal ("Dear Mr. Pasichnyk"), reply formal. Mirror their level.
  • No bot language. Never write: "Please find attached", "I hope this email finds you well", "As per our conversation", "Don't hesitate to reach out". Write like a human.
  • No unnecessary bullet points or formatting. Business emails are paragraphs. Use bullets only when listing 3+ distinct items that genuinely benefit from a list.
  • Reference shared context. Use "as discussed", "as you mentioned", "following up on our call" — shows you're in the conversation, not generating from a template.
  • Keep it short. 3-5 sentences for a reply. 2-3 short paragraphs max for a proposal email. If you need more, the content belongs in an attachment.
  • One clear call-to-action. End with exactly one thing you want them to do: review, sign, reply, schedule.

Ivan's voice:

  • Short, concrete, direct
  • Professional but warm — not stiff, not overly casual
  • Says "we" for company actions, "I" for personal commitments
  • Signs off: "Best," or "Thanks," — never "Best regards," or "Sincerely,"
  • First email in thread: "Hi [Name]," — replies: often no greeting, just jumps in

Anti-patterns (never do these):

Bad Why Instead
"Please find attached the proposal" Corporate robot "Proposal is attached" or "Attached is the proposal we discussed"
Bullet-point summary of what's attached They can read it themselves One sentence saying what it is
Repeating info they already know Wastes their time Reference it briefly, move forward
"Let me know if you have any questions" Empty filler Specific CTA: "Let me know if the terms work"
Long intro before answering their question Buries the answer Answer first, context after

Paths

What Path
Script $GOOGLE_TOOLS_PATH/send_email.py
Token $GOOGLE_TOOLS_PATH/token.json
venv $GOOGLE_TOOLS_PATH/.venv/bin/python3

How to run

Simple email

cd $GOOGLE_TOOLS_PATH
.venv/bin/python3 send_email.py \
    --to [email protected] \
    --subject "Subject" \
    --body "Message text" \
    --dry-run

With CC

.venv/bin/python3 send_email.py \
    --to [email protected] \
    --cc [email protected] \
    --cc [email protected] \
    --subject "Subject" \
    --body "Message" \
    --dry-run

With attachment

.venv/bin/python3 send_email.py \
    --to [email protected] \
    --subject "NDA attached" \
    --body "Please find attached." \
    --attach /path/to/file.pdf \
    --attach /path/to/another.pdf \
    --dry-run

Reply in thread (search by query)

.venv/bin/python3 send_email.py \
    --to [email protected] \
    --subject "Re: Original Subject" \
    --body "Reply text" \
    --reply-to 'from:[email protected] subject:"Original Subject"' \
    --dry-run

Reply in thread (by message ID)

.venv/bin/python3 send_email.py \
    --to [email protected] \
    --subject "Re: Original Subject" \
    --body "Reply text" \
    --reply-to-id MESSAGE_ID \
    --dry-run

Body from file

.venv/bin/python3 send_email.py \
    --to [email protected] \
    --subject "Subject" \
    --body-file /path/to/message.txt \
    --dry-run

Parameters

Parameter Description Required
--to EMAIL Recipient (can specify multiple) yes
--cc EMAIL CC (can specify multiple) no
--subject TEXT Email subject yes
--body TEXT Email body text yes*
--body-file FILE Body text from file yes*
--attach FILE Attachment (can specify multiple) no
--reply-to QUERY Gmail query for thread lookup no
--reply-to-id ID Gmail message ID for reply no
--dry-run Preview only, do not send no

*Either --body or `-

Полный SKILL.md на GitHub

Установить email-send-direct в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл email-send-direct?

Single email: dry-run, reply, attachments

Как установить скилл email-send-direct?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл email-send-direct запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить email-send-direct с