← Back to Skills
Communication

email-send

xejrax By xejrax 👁 7 views ▲ 0 votes

Send a quick email via SMTP using `msmtp` without opening a full mail

GitHub
---
name: email-send
description: "Send a quick email via SMTP using `msmtp` without opening a full mail client."
metadata:
  {
    "openclaw":
      {
        "emoji": "📧",
        "requires": { "bins": ["msmtp"] },
        "install":
          [
            {
              "id": "dnf",
              "kind": "dnf",
              "package": "msmtp",
              "bins": ["msmtp"],
              "label": "Install msmtp (dnf)",
            },
          ],
      },
  }
---

# Email Send Skill

Send a quick email via SMTP without opening the full himalaya client. Requires `SMTP_HOST`, `SMTP_PORT`, `SMTP_USER`, `SMTP_PASS` env vars.

## Sending Email

Send a basic email:

```bash
echo "Meeting at 3pm tomorrow." | msmtp [email protected]
```

Send with subject and headers:

```bash
printf "To: [email protected]\nSubject: Quick update\n\nHey, the deploy is done." | msmtp [email protected]
```

## Options

- `--cc` -- carbon copy recipients
- `--bcc` -- blind carbon copy recipients
- `--attach <file>` -- attach a file

## Install

```bash
sudo dnf install msmtp
```
communication

Comments

Sign in to leave a comment

Loading comments...