What problem does it solve?
Managing a Tencent Enterprise Mail (exmail.qq.com) inbox from the command line or an agent workflow normally requires manual webmail access; this Skill lets you send emails, list recent inbox messages, and fetch full message bodies programmatically using IMAP/SMTP with credentials read from environment variables.
Core Features & Use Cases
- Send Email: Deliver messages through smtp.exmail.qq.com (port 465, SSL) using nodemailer, with recipient, subject, and body passed as CLI arguments or via stdin.
- List Recent Mail: Connect to imap.exmail.qq.com (port 993, SSL) to retrieve the latest N messages or messages from the last N days, showing subject, sender, date, UID, and a body preview.
- Fetch Full Body by UID: Retrieve the complete plain-text body of a specific message using the UID from the inbox listing.
- Use Case: An agent needs to notify a colleague and later check replies; it runs the send script to dispatch the message, then lists recent inbox mail and pulls the full body of the reply by UID.
Quick Start
Set the EXMAIL_ACCOUNT and EXMAIL_AUTH_CODE environment variables, run npm install in the skill directory, then ask the agent to send an email to a recipient with a subject and body using the Tencent Enterprise Mail skill.