Skip to main content

email

Send emails via SMTP or sendmail. Use when sending transactional emails or notifications programmatically.

Source facts

Repository
fworks-tech/agenthood
Last source activity
September 16, 2026 at 21:10
Detected SKILL.md language
English
Stars
3
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
email
description
Send emails via SMTP or sendmail. Use when sending transactional emails or notifications programmatically.
license
MIT
metadata
{"category":"messaging","dependencies":{"cli":"sendmail","checkCommand":"which sendmail || which msmtp","install":{"darwin":"[Truncated]","linux":"[Truncated]"}},"config":[{"name":"SMTP_HOST","label":"SMTP Server","type":"string","required":false},{"name":"SMTP_PORT","label":"SMTP Port","type":"string","required":false}]}
# Email Send emails via command line. ## Using sendmail/msmtp - Send email: `echo "Body" | sendmail recipient@example.com` - With subject: `echo -e "Subject: Hello\n\nBody text" | sendmail -t recipient@example.com` ## Using SMTP with curl ``` curl --url "smtps://${SMTP_HOST}:${SMTP_PORT}" \ --mail-from "sender@example.com" \ --mail-rcpt "recipient@example.com" \ --user "${SMTP_USER}:${SMTP_PASS}" \ --upload-file email.txt ``` ## email.txt format ``` From: Sender <sender@example.com> To: Recipient <recipient@example.com> Subject: Subject line Content-Type: text/plain; charset=utf-8 Body text here. ``` ## Notes - Configure msmtp at `~/.msmtprc` - Never hardcode SMTP credentials in scripts
View on GitHub