m365-spam-manager
بواسطة tradmangh
Web & Frontend Developmentموجز
Microsoft 365 spam folder manager for Outlook/Exchange mailboxes.
الوصف
ما الذي تفعله هذه المهارة
Manages the junk/spam folder in Microsoft 365 Outlook and Exchange mailboxes. Scores each email 0-100 using structural signals like missing unsubscribe links, suspicious sender domains, and known scam patterns. Operates in review mode by default, prompting confirmation before moving emails, with an automatic batch-clean mode for unattended processing.
It applies a transparent, rule-based scoring model on top of Exchange's native filters, exposing exactly which signals triggered each score so thresholds can be tuned per mailbox.
متى تستخدمها
- Clearing hundreds of accumulated junk emails from a flooded Outlook inbox
- Rescuing legitimate newsletters mistakenly flagged as spam
- Batch-cleaning a shared Exchange mailbox using a confidence threshold
- Auditing a junk folder before migrating to a new email provider
- Identifying phishing attempts missed by Exchange's built-in filters
مثال على سير العمل
User asks: analyze my junk folder and move obvious spam to the learning folder
- 1
Run analyze.mjs with the configured profile and mailbox flags
- 2
Display each email with its suspicious score and the contributing pattern breakdown
- 3
Prompt user to confirm which high-scoring emails to act on
- 4
Execute move-to-learning.mjs for confirmed spam using the message ID
- 5
Execute move-to-inbox.mjs for any false positives the user flags
Junk folder reviewed with high-confidence spam moved to the learning folder and false positives restored to inbox
المتطلبات
- Microsoft 365 account with Outlook or Exchange Online mailbox
- Microsoft Graph API credentials configured via m365-mailbox profile setup
التثبيت
clawhub install tradmangh/m365-spam-managerشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.