🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

osascript-email

by @yumik20

Send automated plain-text emails on macOS via Mail.app using AppleScript without SMTP credentials, suitable for alerts and reports, not bulk or HTML emails.

Versionv1.0.0
βš™οΈ Configuration

  • macOS with Mail.app installed
  • At least one email account configured in Mail.app
  • Verify the sender address matches a configured Mail.app account
  • Authorization: This skill sends email silently from Mail.app. Only use with explicit user consent. Never use to send on behalf of a user without their knowledge.

  • πŸ“‹ Tips & Best Practices

    | Symptom | Likely cause | Fix | |---------|-------------|-----| | osascript: Mail got an error | Mail.app not open or account not configured | Open Mail.app, check accounts | | Email lands in Drafts | send m not reached (script errored before) | Check escape characters | | execution error: Mail got an error: Invalid recipient | Address typo | Verify recipient address | | Email sends but empty body | Newline escape issue in content string | Use Python helper instead | | returncode != 0 with no stderr | osascript permission denied | Grant Automation permission: macOS Ventura+: System Settings β†’ Privacy & Security β†’ Automation; older macOS: System Preferences β†’ Security & Privacy β†’ Automation |


    View on ClawHub
    TERMINAL
    clawhub install osascript-email

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’