# 163email Skill

> 163email skill - Send emails via 163 SMTP service with custom recipient, subject, content. Support CLI and Python import

- Skill: `lord1egypt/163email-skill` (Agent Skill, multi-file: 10 files)
- Install (CLI): `npx get-skill add lord1egypt/163email-skill`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lord1egypt/163email-skill/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: Lord1Egypt (https://skillmd.com/u/lord1egypt)
- Updated: 2026-11-19
- Page: https://skillmd.com/skills/lord1egypt/163email-skill

---


# 163email Skill - Email Sender

Send emails via 163 SMTP service. Support custom recipient, subject, content. Both CLI and Python module import calling methods are supported.

## Features

- Send plain text emails via 163 SMTP
- One-click command line invocation
- Python module import support
- SSL encrypted transmission
- Multiple recipients support

## Usage

### Method 1: Command Line

```bash
python send_email.py "recipient@example.com" "Test Subject" "Email content here"
```

### Method 2: Python Import

```python
from src.send_email import send_mail

send_mail(
    to="recipient@example.com",
    subject="Test Email",
    content="This is the email content"
)
```

## Configuration

Set environment variables before use:

```bash
export CLAW_EMAIL="your_163_email@163.com"
export CLAW_EMAIL_AUTH="your_smtp_authorization_code"
export CLAW_SMTP_SERVER="smtp.163.com"  # optional
export CLAW_SMTP_PORT="465"  # optional
```

Or use in Python:
```python
import os
os.environ["CLAW_EMAIL"] = "your_email@163.com"
os.environ["CLAW_EMAIL_AUTH"] = "your_auth_code"
```

## Requirements

- Python 3.6+
- No third-party dependencies (uses smtplib, email standard library)

## License

MIT

