Ztpc Spam Sweep
Skill by cubiczeta
Why use this skill?
Safely manage and filter your Aliyun Enterprise Mail using Ztpc Spam Sweep. Automate your inbox organization with custom allowlists, blocklists, and secure, non-destructive spam flagging.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/cubiczeta/ztpc-spam-sweepWhat This Skill Does
The Ztpc Spam Sweep is a specialized browser automation tool designed to manage Aliyun Enterprise Mail (mail.ztpc.com) for users. Its primary purpose is to scan unread emails and identify spam or phishing attempts using a conservative heuristic approach. The skill strictly adheres to the principle of never deleting emails; instead, it moves identified threats to the 'Spam' folder. This ensures that users retain full control over their correspondence while maintaining a cleaner, safer inbox. It operates via an OpenClaw persistent browser profile, allowing for state maintenance and efficient authentication handling.
Installation
To install this skill, use the official OpenClaw command-line interface. Run the following command in your terminal:
clawhub install openclaw/skills/skills/cubiczeta/ztpc-spam-sweep
Once installed, you must configure your credentials by creating the secrets file at ~/.openclaw/workspace/skills/ztpc-spam-sweep/secrets.json with your username and password. For enhanced filtering accuracy, create allowlist.txt and blocklist.txt in the same directory to manage your sender preferences.
Use Cases
- Automated Inbox Cleanup: Schedule regular sweeps to clear out junk mail without the risk of accidental deletion of important communications.
- Security Hardening: Automatically flag and isolate phishing attempts based on sender domains and blocklists.
- Intermittent Maintenance: Use the interactive mode to handle verification prompts or SMS codes while maintaining the core logic of your spam management workflow.
Example Prompts
- "Run a dry run for the spam sweep to see what would be filtered in my inbox."
- "Perform a full spam sweep on my mail, checking up to 40 unread messages."
- "Run the spam sweep with interactive 2FA enabled, I am ready to provide the verification code if needed."
Tips & Limitations
- Safety First: Always utilize the
dry_run=trueflag the first time you execute the skill to ensure your allowlist is correctly configured and that no legitimate emails are incorrectly flagged. - Manual Verification: The skill is designed to handle common browser-based security measures. For SMS-based 2FA, ensure you are available to provide codes if
interactive_2fais set to true. If you are running this as a background cron job, keep this set to false to avoid unexpected hanging. - Constraint Awareness: The tool has a hard cap of 50 emails per execution to prevent account lockout and ensure browser stability.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-cubiczeta-ztpc-spam-sweep": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read