SpamAssassin MCP icon

SpamAssassin MCP

Analyze emails for spam using SpamAssassin MCP server

Scan Email

AI-generated

Summary

Analyze raw email content for spam likelihood using SpamAssassin MCP server with configurable detail level and header inclusion.

Inputs

  • Email Content (required) — The raw email content to be analyzed for spam characteristics.
  • Include Headers — Boolean flag indicating whether email headers should be included in the spam analysis (default true).
  • Analysis Level — Specifies the depth of spam analysis: Basic, Detailed (includes rule breakdown), or Full (all available checks).

Output shape

a single JSON object containing 'scanResult' with the spam analysis content and 'timestamp' with the analysis time.

The returned 'scanResult' varies depending on the chosen Analysis Level and Include Headers setting. No pagination or error envelope is specified for this operation; errors cause node failure or are handled by continueOnFail.

Examples

Example 1: Scan an email's raw content with headers included and a detailed analysis level.

Set Email Content to the raw email, Include Headers to true, Analysis Level to Detailed. The output will have 'scanResult' with detailed spam assessment including rule breakdown.

Discussion