# rename_email_account (/docs/mcp/tools/rename-email-account)

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

**Rename a mailbox** · Changes data

Changes the sender name a mailbox shows, and for mailboxes on our servers the part of the address before the @. The mailbox keeps its warmup and history.

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

## Parameters [#parameters]

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `websiteId` | `string` | Yes | Website ID from list_websites. |
| `emailAccountId` | `string` | Yes | Mailbox ID from list_email_accounts. |
| `fullName` | `string` | No | The sender name. |
| `localPart` | `string` | No | Our mailboxes only: the new part before the @. |

## Tool definition [#tool-definition]

What your assistant receives from `tools/list`:

```json
{
  "name": "rename_email_account",
  "title": "Rename a mailbox",
  "annotations": {
    "title": "Rename a mailbox",
    "readOnlyHint": false,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website ID from list_websites."
      },
      "emailAccountId": {
        "type": "string",
        "description": "Mailbox ID from list_email_accounts."
      },
      "fullName": {
        "type": "string",
        "description": "The sender name."
      },
      "localPart": {
        "type": "string",
        "description": "Our mailboxes only: the new part before the @."
      }
    },
    "required": [
      "websiteId",
      "emailAccountId"
    ]
  }
}
```
