← ClaudeAtlas

emaillisted

Email operations skill for sending, fetching, and reading emails via IMAP/SMTP. Uses curl with OpenSSL/LibreSSL for reliable TLS compatibility with Tencent Enterprise Mail and other providers. Credentials are securely stored in macOS Keychain.
aiskillstore/marketplace · ★ 329 · AI & Automation · score 85
Install: claude install-skill aiskillstore/marketplace
# Email Operations Skill ## Overview This skill provides email capabilities through direct IMAP/SMTP protocol access using curl. It supports: - **Sending emails** via SMTP with TLS - **Fetching email lists** via IMAP - **Reading email content** by ID - **Multi-account support** with secure credential storage ## Architecture - **Protocol**: Direct IMAP (port 993) and SMTP (port 465) over TLS - **Security**: Passwords stored in macOS Keychain, never in config files - **Compatibility**: Uses curl with OpenSSL/LibreSSL (better Tencent Enterprise Mail support than rustls) - **Configuration**: YAML-based account management in `references/accounts.yaml` ## Available Scripts ### 1. Send Email (`send-email.sh`) Send emails via SMTP with support for inline or file-based content. **Usage:** ```bash ./scripts/send-email.sh -t recipient@example.com -s "Subject" -b "Message" ./scripts/send-email.sh -t recipient@example.com -s "Subject" -f message.txt ./scripts/send-email.sh -t recipient@example.com -c another@example.com -s "Subject" -b "Message" ``` **Parameters:** - `-a ACCOUNT` - Account name (default: from accounts.yaml) - `-t EMAIL` - Recipient email (required) - `-c EMAIL` - CC recipient (optional) - `-s TEXT` - Email subject (required) - `-b TEXT` - Email body inline (required if no -f) - `-f FILE` - Email body from file (required if no -b) ### 2. Fetch Emails (`fetch-emails.sh`) Retrieve email headers from a mailbox. **Usage:** ```bash ./scripts/fetch-emails.sh