m365-spam-manager
por tradmangh
Web & Frontend DevelopmentResumo
Microsoft 365 spam folder manager for Outlook/Exchange mailboxes.
Descrição
O que esta skill faz
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.
Quando usá-la
- 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
Exemplo de fluxo de trabalho
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
Requisitos
- Microsoft 365 account with Outlook or Exchange Online mailbox
- Microsoft Graph API credentials configured via m365-mailbox profile setup
Instalação
clawhub install tradmangh/m365-spam-managerExecute o comando da CLI ou cole o prompt no Claude Code, Cursor, Codex ou no agente de código que você usa.