# spam_check_email (/docs/mcp/tools/spam-check-email)

{/* Generated by scripts/sync-mcp-tools.mjs from happierleads-api. Do not edit: change src/routes/mcp/toolDocs.json there, or add content/mcp-notes/spam_check_email.mdx. */}

**Spam-check an email** · Read-only

Checks an email subject and body for words and patterns that send mail to spam, and returns a score with each issue and how to fix it. Nothing is sent. Use it before add_campaign_step or update_campaign_step.

| Connection | Account URL, team member URL or OAuth |
| --- | --- |

## Parameters [#parameters]

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `websiteId` | `string` | Yes | Website ID from list_websites. |
| `subject` | `string` | Yes | The subject line. |
| `body` | `string` | Yes | The email body (text or HTML). |

## Tool definition [#tool-definition]

What your assistant receives from `tools/list`:

```json
{
  "name": "spam_check_email",
  "title": "Spam-check an email",
  "annotations": {
    "title": "Spam-check an email",
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website ID from list_websites."
      },
      "subject": {
        "type": "string",
        "description": "The subject line."
      },
      "body": {
        "type": "string",
        "description": "The email body (text or HTML)."
      }
    },
    "required": [
      "websiteId",
      "subject",
      "body"
    ]
  }
}
```
