π¦ ClawHub
163 Email Skill - SMTP Sender
by @liubindashen
163email skill - Send emails via 163 SMTP service with custom recipient, subject, content. Support CLI and Python import
π‘ Examples
Method 1: Command Line
python send_email.py "recipient@example.com" "Test Subject" "Email content here"
Method 2: Python Import
from src.send_email import send_mailsend_mail(
to="recipient@example.com",
subject="Test Email",
content="This is the email content"
)
βοΈ Configuration
Set environment variables before use:
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:
import os
os.environ["CLAW_EMAIL"] = "your_email@163.com"
os.environ["CLAW_EMAIL_AUTH"] = "your_auth_code"
TERMINAL
clawhub install 163email-skill