S

Spacemail

by norwichwebsite.design · design.norwichwebsite/spacemail

Enables Claude to check, search, read, and organize email across multiple Spacemail (Spaceship) inboxes, and to compose threaded drafts or replies that are saved to Drafts for review before sending. Optional direct sending, safe move-to-Trash instead of permanent deletion, and keychain-backed credentials keep the workflow private and controlled.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "design-norwichwebsite-spacemail": {
      "command": "npx",
      "args": [
        "-y",
        "spacemail-mcp"
      ],
      "env": {
        "SPACEMAIL_EMAIL": "hello@yourbusiness.com",
        "SPACEMAIL_PASSWORD": "<YOUR_VALUE>",
        "SPACEMAIL_LABEL": "<VALUE>",
        "SPACEMAIL_ALLOW_SEND": "false",
        "SPACEMAIL_1_NAME": "<VALUE>",
        "SPACEMAIL_2_NAME": "<VALUE>",
        "SPACEMAIL_3_NAME": "<VALUE>",
        "SPACEMAIL_1_EMAIL": "<VALUE>",
        "SPACEMAIL_1_LABEL": "<VALUE>",
        "SPACEMAIL_2_EMAIL": "<VALUE>",
        "SPACEMAIL_2_LABEL": "<VALUE>",
        "SPACEMAIL_3_EMAIL": "<VALUE>",
        "SPACEMAIL_3_LABEL": "<VALUE>",
        "SPACEMAIL_IMAP_HOST": "mail.spacemail.com",
        "SPACEMAIL_IMAP_PORT": "993",
        "SPACEMAIL_SAVE_SENT": "true",
        "SPACEMAIL_SMTP_HOST": "mail.spacemail.com",
        "SPACEMAIL_SMTP_PORT": "465",
        "SPACEMAIL_1_PASSWORD": "<VALUE>",
        "SPACEMAIL_2_PASSWORD": "<VALUE>",
        "SPACEMAIL_3_PASSWORD": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "design-norwichwebsite-spacemail": {
      "command": "npx",
      "args": [
        "-y",
        "spacemail-mcp"
      ],
      "env": {
        "SPACEMAIL_EMAIL": "hello@yourbusiness.com",
        "SPACEMAIL_PASSWORD": "<YOUR_VALUE>",
        "SPACEMAIL_LABEL": "<VALUE>",
        "SPACEMAIL_ALLOW_SEND": "false",
        "SPACEMAIL_1_NAME": "<VALUE>",
        "SPACEMAIL_2_NAME": "<VALUE>",
        "SPACEMAIL_3_NAME": "<VALUE>",
        "SPACEMAIL_1_EMAIL": "<VALUE>",
        "SPACEMAIL_1_LABEL": "<VALUE>",
        "SPACEMAIL_2_EMAIL": "<VALUE>",
        "SPACEMAIL_2_LABEL": "<VALUE>",
        "SPACEMAIL_3_EMAIL": "<VALUE>",
        "SPACEMAIL_3_LABEL": "<VALUE>",
        "SPACEMAIL_IMAP_HOST": "mail.spacemail.com",
        "SPACEMAIL_IMAP_PORT": "993",
        "SPACEMAIL_SAVE_SENT": "true",
        "SPACEMAIL_SMTP_HOST": "mail.spacemail.com",
        "SPACEMAIL_SMTP_PORT": "465",
        "SPACEMAIL_1_PASSWORD": "<VALUE>",
        "SPACEMAIL_2_PASSWORD": "<VALUE>",
        "SPACEMAIL_3_PASSWORD": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "design-norwichwebsite-spacemail": {
      "command": "npx",
      "args": [
        "-y",
        "spacemail-mcp"
      ],
      "env": {
        "SPACEMAIL_EMAIL": "hello@yourbusiness.com",
        "SPACEMAIL_PASSWORD": "<YOUR_VALUE>",
        "SPACEMAIL_LABEL": "<VALUE>",
        "SPACEMAIL_ALLOW_SEND": "false",
        "SPACEMAIL_1_NAME": "<VALUE>",
        "SPACEMAIL_2_NAME": "<VALUE>",
        "SPACEMAIL_3_NAME": "<VALUE>",
        "SPACEMAIL_1_EMAIL": "<VALUE>",
        "SPACEMAIL_1_LABEL": "<VALUE>",
        "SPACEMAIL_2_EMAIL": "<VALUE>",
        "SPACEMAIL_2_LABEL": "<VALUE>",
        "SPACEMAIL_3_EMAIL": "<VALUE>",
        "SPACEMAIL_3_LABEL": "<VALUE>",
        "SPACEMAIL_IMAP_HOST": "mail.spacemail.com",
        "SPACEMAIL_IMAP_PORT": "993",
        "SPACEMAIL_SAVE_SENT": "true",
        "SPACEMAIL_SMTP_HOST": "mail.spacemail.com",
        "SPACEMAIL_SMTP_PORT": "465",
        "SPACEMAIL_1_PASSWORD": "<VALUE>",
        "SPACEMAIL_2_PASSWORD": "<VALUE>",
        "SPACEMAIL_3_PASSWORD": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "design-norwichwebsite-spacemail": {
      "command": "npx",
      "args": [
        "-y",
        "spacemail-mcp"
      ],
      "env": {
        "SPACEMAIL_EMAIL": "hello@yourbusiness.com",
        "SPACEMAIL_PASSWORD": "<YOUR_VALUE>",
        "SPACEMAIL_LABEL": "<VALUE>",
        "SPACEMAIL_ALLOW_SEND": "false",
        "SPACEMAIL_1_NAME": "<VALUE>",
        "SPACEMAIL_2_NAME": "<VALUE>",
        "SPACEMAIL_3_NAME": "<VALUE>",
        "SPACEMAIL_1_EMAIL": "<VALUE>",
        "SPACEMAIL_1_LABEL": "<VALUE>",
        "SPACEMAIL_2_EMAIL": "<VALUE>",
        "SPACEMAIL_2_LABEL": "<VALUE>",
        "SPACEMAIL_3_EMAIL": "<VALUE>",
        "SPACEMAIL_3_LABEL": "<VALUE>",
        "SPACEMAIL_IMAP_HOST": "mail.spacemail.com",
        "SPACEMAIL_IMAP_PORT": "993",
        "SPACEMAIL_SAVE_SENT": "true",
        "SPACEMAIL_SMTP_HOST": "mail.spacemail.com",
        "SPACEMAIL_SMTP_PORT": "465",
        "SPACEMAIL_1_PASSWORD": "<VALUE>",
        "SPACEMAIL_2_PASSWORD": "<VALUE>",
        "SPACEMAIL_3_PASSWORD": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "design-norwichwebsite-spacemail": {
      "command": "npx",
      "args": [
        "-y",
        "spacemail-mcp"
      ],
      "env": {
        "SPACEMAIL_EMAIL": "hello@yourbusiness.com",
        "SPACEMAIL_PASSWORD": "<YOUR_VALUE>",
        "SPACEMAIL_LABEL": "<VALUE>",
        "SPACEMAIL_ALLOW_SEND": "false",
        "SPACEMAIL_1_NAME": "<VALUE>",
        "SPACEMAIL_2_NAME": "<VALUE>",
        "SPACEMAIL_3_NAME": "<VALUE>",
        "SPACEMAIL_1_EMAIL": "<VALUE>",
        "SPACEMAIL_1_LABEL": "<VALUE>",
        "SPACEMAIL_2_EMAIL": "<VALUE>",
        "SPACEMAIL_2_LABEL": "<VALUE>",
        "SPACEMAIL_3_EMAIL": "<VALUE>",
        "SPACEMAIL_3_LABEL": "<VALUE>",
        "SPACEMAIL_IMAP_HOST": "mail.spacemail.com",
        "SPACEMAIL_IMAP_PORT": "993",
        "SPACEMAIL_SAVE_SENT": "true",
        "SPACEMAIL_SMTP_HOST": "mail.spacemail.com",
        "SPACEMAIL_SMTP_PORT": "465",
        "SPACEMAIL_1_PASSWORD": "<VALUE>",
        "SPACEMAIL_2_PASSWORD": "<VALUE>",
        "SPACEMAIL_3_PASSWORD": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "design-norwichwebsite-spacemail": {
      "command": "npx",
      "args": [
        "-y",
        "spacemail-mcp"
      ],
      "env": {
        "SPACEMAIL_EMAIL": "hello@yourbusiness.com",
        "SPACEMAIL_PASSWORD": "<YOUR_VALUE>",
        "SPACEMAIL_LABEL": "<VALUE>",
        "SPACEMAIL_ALLOW_SEND": "false",
        "SPACEMAIL_1_NAME": "<VALUE>",
        "SPACEMAIL_2_NAME": "<VALUE>",
        "SPACEMAIL_3_NAME": "<VALUE>",
        "SPACEMAIL_1_EMAIL": "<VALUE>",
        "SPACEMAIL_1_LABEL": "<VALUE>",
        "SPACEMAIL_2_EMAIL": "<VALUE>",
        "SPACEMAIL_2_LABEL": "<VALUE>",
        "SPACEMAIL_3_EMAIL": "<VALUE>",
        "SPACEMAIL_3_LABEL": "<VALUE>",
        "SPACEMAIL_IMAP_HOST": "mail.spacemail.com",
        "SPACEMAIL_IMAP_PORT": "993",
        "SPACEMAIL_SAVE_SENT": "true",
        "SPACEMAIL_SMTP_HOST": "mail.spacemail.com",
        "SPACEMAIL_SMTP_PORT": "465",
        "SPACEMAIL_1_PASSWORD": "<VALUE>",
        "SPACEMAIL_2_PASSWORD": "<VALUE>",
        "SPACEMAIL_3_PASSWORD": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
SPACEMAIL_EMAIL Yes Email address for a single mailbox configuration.
SPACEMAIL_PASSWORD secret Yes Mailbox password (the Spacemail webmail login password, not the Spaceship account password) for the single mailbox.
SPACEMAIL_LABEL No A short nickname for the mailbox, e.g. Support.
SPACEMAIL_ALLOW_SEND No Set to true to let Claude send mail directly (send_email / send_reply tools). Default: false
SPACEMAIL_1_NAME No Sender name people see for mailbox 1.
SPACEMAIL_2_NAME No Sender name people see for mailbox 2.
SPACEMAIL_3_NAME No Sender name people see for mailbox 3.
SPACEMAIL_1_EMAIL No Email address for mailbox 1 when connecting several mailboxes.
SPACEMAIL_1_LABEL No Nickname for mailbox 1, used when referring to it in Claude.
SPACEMAIL_2_EMAIL No Email address for mailbox 2 when connecting several mailboxes.
SPACEMAIL_2_LABEL No Nickname for mailbox 2, used when referring to it in Claude.
SPACEMAIL_3_EMAIL No Email address for mailbox 3 when connecting several mailboxes.
SPACEMAIL_3_LABEL No Nickname for mailbox 3, used when referring to it in Claude.
SPACEMAIL_IMAP_HOST No IMAP host; only change these if Spaceship tells you to. Default: mail.spacemail.com
SPACEMAIL_IMAP_PORT No IMAP port; only change these if Spaceship tells you to. Default: 993
SPACEMAIL_SAVE_SENT No Save a copy of mail sent by Claude in the Sent folder. Default: true
SPACEMAIL_SMTP_HOST No SMTP host; only change these if Spaceship tells you to. Default: mail.spacemail.com
SPACEMAIL_SMTP_PORT No SMTP port; only change these if Spaceship tells you to. Default: 465
SPACEMAIL_1_PASSWORD No Mailbox password for mailbox 1.
SPACEMAIL_2_PASSWORD No Mailbox password for mailbox 2.
SPACEMAIL_3_PASSWORD No Mailbox password for mailbox 3.

Similar servers