๐ŸŽ Get the FREE AI Skills Starter Guide โ€” Subscribe โ†’
BytesAgainBytesAgain
๐Ÿฆ€ ClawHub

Save To Email

by @chjm-ai

Send emails through the Resend API. Use when the user wants to send an email, deliver a report by email, forward generated content to an inbox, or trigger an...

Versionv1.0.0
Downloads699
Starsโญ 1
TERMINAL
clawhub install save-to-email

๐Ÿ“– About This Skill


name: save-to-email description: Send emails through the Resend API. Use when the user wants to send an email, deliver a report by email, forward generated content to an inbox, or trigger an email notification. Trigger on phrases like "send email", "ๅ‘้‚ฎไปถ", "้‚ฎไปถ้€š็Ÿฅ", "email this", or "ๆŠŠ็ป“ๆžœๅ‘ๅˆฐ้‚ฎ็ฎฑ". metadata: openclaw: requires: env: - RESEND_API_KEY - RESEND_FROM bins: - curl - python3 primaryEnv: RESEND_API_KEY

Save To Email

Send HTML emails with Resend.

When To Use

Use this skill when the user wants Claude to:

  • send a formatted email
  • email a generated report or summary
  • deliver HTML content to one or more recipients
  • trigger a lightweight notification email
  • Setup

    This skill requires a local .env file in the skill root with:

    RESEND_API_KEY=your_resend_api_key
    RESEND_FROM="Your Name "
    

    If .env is missing, load the variables from the shell environment before using the script.

    Command

    ./scripts/send-email.sh "recipient@example.com" "Subject" "

    HTML content

    "

    Input Rules

  • Argument 1: recipient email address
  • Argument 2: subject
  • Argument 3: HTML body
  • Use valid HTML. For plain text, wrap content in

     or convert line breaks to 
    .

    Examples

    ./scripts/send-email.sh \
      "recipient@example.com" \
      "Daily Report" \
      "

    Summary

    All jobs finished successfully.

    "

    html="

    Project Update

    • Task A done
    • Task B in progress
    " ./scripts/send-email.sh "recipient@example.com" "Project Status" "$html"

    Notes

  • The script reads .env automatically when present.
  • Do not hardcode API keys or private sender addresses in this repository.
  • Check README.md for public setup guidance.
  • โšก When to Use

    TriggerAction
    - send a formatted email
    - email a generated report or summary
    - deliver HTML content to one or more recipients
    - trigger a lightweight notification email

    ๐Ÿ’ก Examples

    ./scripts/send-email.sh \
      "recipient@example.com" \
      "Daily Report" \
      "

    Summary

    All jobs finished successfully.

    "

    html="

    Project Update

    • Task A done
    • Task B in progress
    " ./scripts/send-email.sh "recipient@example.com" "Project Status" "$html"

    โš™๏ธ Configuration

    This skill requires a local .env file in the skill root with:

    RESEND_API_KEY=your_resend_api_key
    RESEND_FROM="Your Name "
    

    If .env is missing, load the variables from the shell environment before using the script.

    ๐Ÿ“‹ Tips & Best Practices

  • The script reads .env automatically when present.
  • Do not hardcode API keys or private sender addresses in this repository.
  • Check README.md for public setup guidance.