Spacemail by NWD

v1.0.1
design.norwichwebsite/spacemail Checked 2 days ago Published 1 month ago

Check, search, read and draft replies to Spacemail (Spaceship) emails, across several mailboxes.

Values you need

VariableWhat it is
SPACEMAIL_EMAILrequired Your Spacemail address. For more mailboxes use SPACEMAIL_1_EMAIL, SPACEMAIL_2_EMAIL and so on.
SPACEMAIL_PASSWORDrequired secret The mailbox password (not your Spaceship account password).
SPACEMAIL_LABELoptional A short nickname for the mailbox, e.g. Support.
SPACEMAIL_ALLOW_SENDoptional Set to true to let Claude send emails. Off by default, so replies are saved as drafts. Default: false

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add spacemail -e 'SPACEMAIL_EMAIL=<SPACEMAIL_EMAIL>' -e 'SPACEMAIL_PASSWORD=<SPACEMAIL_PASSWORD>' -- npx -y spacemail-mcp@1.0.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "spacemail": {
      "args": [
        "-y",
        "spacemail-mcp@1.0.1"
      ],
      "command": "npx",
      "env": {
        "SPACEMAIL_EMAIL": "<SPACEMAIL_EMAIL>",
        "SPACEMAIL_PASSWORD": "<SPACEMAIL_PASSWORD>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "spacemail": {
      "args": [
        "-y",
        "spacemail-mcp@1.0.1"
      ],
      "command": "npx",
      "env": {
        "SPACEMAIL_EMAIL": "<SPACEMAIL_EMAIL>",
        "SPACEMAIL_PASSWORD": "<SPACEMAIL_PASSWORD>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "SPACEMAIL_EMAIL",
      "id": "spacemail-email",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "SPACEMAIL_PASSWORD",
      "id": "spacemail-password",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "spacemail": {
      "args": [
        "-y",
        "spacemail-mcp@1.0.1"
      ],
      "command": "npx",
      "env": {
        "SPACEMAIL_EMAIL": "${input:spacemail-email}",
        "SPACEMAIL_PASSWORD": "${input:spacemail-password}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.spacemail]
command = "npx"
args = ["-y", "spacemail-mcp@1.0.1"]
env = { "SPACEMAIL_EMAIL" = "<SPACEMAIL_EMAIL>", "SPACEMAIL_PASSWORD" = "<SPACEMAIL_PASSWORD>" }

For AI agents

  1. Ask the user for: SPACEMAIL_EMAIL, SPACEMAIL_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_mailboxes, test_connection, check_inbox, search_emails, read_email, list_folders, create_draft, draft_reply, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json