/spamtitan:review-quarantine [domain] [reason] [period] [per_page]from spamtitan
Reviews the SpamTitan quarantine queue with email statistics, lists held messages grouped by type, and provides release/delete recommendations based on spam scores and authentication checks.
Ships in spamtitan. Installing the plugin adds it to Claude Code.
Review the SpamTitan quarantine queue for held messages. Starts with an email flow statistics summary, then lists recent quarantined messages grouped by type. Presents release and delete recommendations based on message content and spam scores. This is the primary daily workflow for MSP email security management.
spamtitan_get_stats, spamtitan_get_queue, spamtitan_get_message, spamtitan_release_message, and spamtitan_delete_message availableOn a multi-tenant appliance the queue listing therefore covers every tenant, and this command has to narrow it client-side on the recipient address. Never present an unnarrowed listing as one customer's quarantine.
Get email statistics summary
Call spamtitan_get_stats with the specified period (default: today) and domain if provided. This call is domain-scoped. Display a summary showing total inbound volume, quarantine counts by type, spam rate, and top quarantine senders.
Fetch the quarantine queue
Call spamtitan_get_queue with per_page and reason if provided. There is no domain filter and no date filter on this call:
domain was given, page through the results and discard every
message whose recipient is not in that domain before doing anything
else. State in the output that the filter was applied client-side and
that the underlying listing was appliance-wide.received_at yourself —
last 24 hours, extending to 48 if the queue is small.sender, recipient, subject, reason makes the
server elicit a recipient filter from the caller.Group messages by type
Organize the queue by quarantine type:
Identify likely false positives
For probable_spam messages, flag likely false positives based on:
List-Unsubscribe header (legitimate bulk mail)Present release and delete recommendations
For each message, recommend either:
Execute actions
For messages with clear recommendations, call spamtitan_release_message or spamtitan_delete_message — one message_id per call; there is no bulk tool. Release does not allowlist: to stop a repeat false positive recurring, make a separate spamtitan_manage_allowlist call with action=add, the sender, and a note.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| domain | string | No | all | Client domain. Passed to spamtitan_get_stats as domain; applied client-side to the queue results, because spamtitan_get_queue has no domain filter |
| reason | string | No | all | Quarantine reason to filter the queue by, passed as the tool's reason (e.g. spam, virus, policy) |
| period | string | No | today | Statistics period: today, yesterday, last_7_days, last_30_days, last_90_days |
| per_page | integer | No | 50 | Messages per page, passed as per_page (max 200) |
/review-quarantine
/review-quarantine --domain clientcorp.com
/review-quarantine --reason virus
/review-quarantine --period last_7_days --per_page 200
SPAMTITAN_API_KEY is set correctlyspamtitan_get_stats only — the queue never saw the domaindomain value may not match; call spamtitan_get_stats without it to confirm connectivityspamtitan_get_queue has no domain filter; narrow on the recipient address before acting/manage-lists - Add or remove sender allowlist and blocklist entries after identifying patterns from the quarantine queueWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub wyre-ai/msp-claude-plugins --plugin spamtitan2 commands in this plugin
Other plugins' commands for the same job