Send and receive emails via QQ Mail SMTP/IMAP. Use when: user wants to send/receive emails, check inbox, read messages, or share documents via email. Requires QQ email authorization code configured in TOOLS.md.
Send and receive emails via QQ Mail SMTP/IMAP server.
✅ USE this skill when:
❌ DON'T use this skill when:
Before using, configure in TOOLS.md:
### QQ Email
- Email: [email protected]
- Auth Code: your_16_char_auth_code
- Sender Name: Your Name
Get QQ Auth Code:
python3 ~/.openclaw/workspace/skills/qq-email/qq_email.py send \
--to "[email protected]" \
--subject "Email Subject" \
--content "Email content here"
# List 10 recent emails
python3 ~/.openclaw/workspace/skills/qq-email/qq_email.py receive
# List 20 emails
python3 ~/.openclaw/workspace/skills/qq-email/qq_email.py receive --count 20
# Unread emails only
python3 ~/.openclaw/workspace/skills/qq-email/qq_email.py receive --unread
# Read email by UID
python3 ~/.openclaw/workspace/skills/qq-email/qq_email.py read --uid 123
# Read and save attachments
python3 ~/.openclaw/workspace/skills/qq-email/qq_email.py read --uid 123 --save
python3 ~/.openclaw/workspace/skills/qq-email/qq_email.py mark-read --uid 123
python3 ~/.openclaw/workspace/skills/qq-email/qq_email.py send \
--to "[email protected]" \
--subject "HTML Email" \
--content "<h1>Hello</h1><p>HTML content</p>" \
--html
python3 ~/.openclaw/workspace/skills/qq-email/qq_email.py send \
--to "[email protected]" \
--subject "Document Attached" \
--content "Please find attached." \
--attachment "/path/to/file.pdf"
"Send an email to [email protected]"
→ Ask for subject and content, then:
python3 ~/.openclaw/workspace/skills/qq-email/qq_email.py --to "[email protected]" --subject "[subject]" --content "[content]"
"Email this file to someone"
→ Ask for recipient and add attachment:
python3 ~/.openclaw/workspace/skills/qq-email/qq_email.py --to "[email]" --subject "[subject]" --content "[content]" --attachment "[file]"