Email Skill
Read and manage emails via IMAP, send/forward via SMTP.
Configuration
Mail credentials stored in ~/.config/email/credentials.json:
{
"server": "qsttheory.com",
"username": "leesi",
"password": "prime_minister_mail",
"email": "leesi@qsttheory.com"
}
Quick Reference
List Recent Emails
python3 ~/.openclaw/workspace/skills/email/scripts/email_client.py list --limit 10
Search for Verification Codes
python3 ~/.openclaw/workspace/skills/email/scripts/email_client.py search --subject "MiniMax" --extract-code
Forward an Email
python3 ~/.openclaw/workspace/skills/email/scripts/email_client.py forward --id 1 --to king@qsttheory.com
Read Full Email
python3 ~/.openclaw/workspace/skills/email/scripts/email_client.py read --id 1
Important Notes
- Username for IMAP login is
leesi(without domain), notleesi@qsttheory.com - When extracting verification codes, look for 6-digit numbers in the HTML body
- Beware of color codes like
#222222— they are NOT verification codes - Verification codes are typically in
<div>elements with specific styling
微信扫一扫