# add_to_email_blacklist (/docs/mcp/tools/add-to-email-blacklist)

{/* 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/add_to_email_blacklist.mdx. */}

**Add to the email blocklist** · Changes data

Adds email addresses that campaigns on this website must never send to, e.g. customers, competitors or people who asked not to be contacted. They are added under a group name so they can be removed together.

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

## Parameters [#parameters]

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `websiteId` | `string` | Yes | Website ID from list_websites. |
| `emails` | `string[]` | Yes | The email addresses to block. |
| `group` | `string` | No | Group name to add them under. Default 'blacklist'. |

## Tool definition [#tool-definition]

What your assistant receives from `tools/list`:

```json
{
  "name": "add_to_email_blacklist",
  "title": "Add to the email blocklist",
  "annotations": {
    "title": "Add to the email blocklist",
    "readOnlyHint": false,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website ID from list_websites."
      },
      "emails": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "The email addresses to block."
      },
      "group": {
        "type": "string",
        "description": "Group name to add them under. Default 'blacklist'."
      }
    },
    "required": [
      "websiteId",
      "emails"
    ]
  }
}
```
