{
  "name": "@n24q02m/better-email-mcp",
  "mcpName": "io.github.n24q02m/better-email-mcp",
  "keywords": [
    "email",
    "imap",
    "smtp",
    "mcp",
    "mcp-server",
    "model-context-protocol",
    "ai-agent",
    "composite-tools",
    "gmail",
    "outlook",
    "claude",
    "cursor",
    "copilot",
    "antigravity",
    "codex",
    "opencode"
  ],
  "version": "1.41.5",
  "license": "Apache-2.0",
  "type": "module",
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "build": "tsc --build tsconfig.build.json && node scripts/build-cli.js",
    "dev": "tsx watch scripts/start-server.ts",
    "provider:accept": "uv run --with mcp==2.0.0 python -B scripts/provider_acceptance.py",
    "provider:accept:lint": "uv run --with ruff==0.16.2 ruff check scripts/provider_acceptance.py scripts/test_provider_acceptance.py",
    "provider:accept:test": "uv run --with mcp==2.0.0 --with pytest==9.1.1 --with coverage==7.10.6 coverage run --include=scripts/provider_acceptance.py -m pytest -q scripts/test_provider_acceptance.py && uv run --with coverage==7.10.6 coverage report --show-missing --fail-under=95",
    "test": "vitest --passWithNoTests",
    "test:watch": "vitest watch",
    "test:coverage": "vitest --coverage",
    "test:full": "vitest run --config tests/live/vitest.live.config.ts tests/live/*.full.test.ts",
    "lint": "biome check .",
    "lint:fix": "biome check --write .",
    "format": "biome format --write .",
    "format:check": "biome format .",
    "type-check": "tsc --noEmit",
    "check": "biome check . && bun run type-check",
    "check:fix": "biome check --write . && bun run type-check",
    "prepublishOnly": "bun run build",
    "docker:build": "docker build -t n24q02m/better-email-mcp:latest .",
    "docker:push": "docker push n24q02m/better-email-mcp:latest",
    "docker:run": "docker run --rm -i -e EMAIL_CREDENTIALS n24q02m/better-email-mcp:latest",
    "cf:dryrun": "node scripts/cf-deploy.js --dry-run",
    "cf:deploy": "node scripts/cf-deploy.js"
  },
  "bin": {
    "better-email-mcp": "bin/cli.mjs"
  },
  "engines": {
    "node": ">=24.21.0"
  },
  "files": [
    "build/",
    "bin/",
    "README.md",
    "LICENSE"
  ],
  "dependencies": {
    "@modelcontextprotocol/sdk": "^1.30.0",
    "@n24q02m/mcp-core": "1.24.1",
    "html-to-text": "^10.0.1",
    "imapflow": "^1.7.8",
    "mailparser": "^3.9.20",
    "marked": "^18.0.11",
    "nodemailer": "^10.0.2",
    "sanitize-html": "^2.17.7"
  },
  "trustedDependencies": [
    "esbuild"
  ],
  "devDependencies": {
    "@biomejs/biome": "^2.5.12",
    "@cloudflare/containers": "^0.3.7",
    "@types/html-to-text": "^9.0.4",
    "@types/mailparser": "^3.4.6",
    "@types/node": "^26.4.1",
    "@types/nodemailer": "^8.0.1",
    "@types/sanitize-html": "^2.16.1",
    "@vitest/coverage-v8": "^5.0.0",
    "esbuild": "^0.28.2",
    "tsx": "^4.23.13",
    "typescript": "^7.0.2",
    "vitest": "^5.0.0",
    "wrangler": "^4.129.0"
  },
  "description": "Better MCP server for Email (IMAP/SMTP) with composite tools optimized for AI agents",
  "main": "build/src/init-server.js",
  "repository": {
    "type": "git",
    "url": "https://github.com/n24q02m/better-email-mcp.git"
  },
  "author": "n24q02m",
  "bugs": {
    "url": "https://github.com/n24q02m/better-email-mcp/issues"
  },
  "homepage": "https://github.com/n24q02m/better-email-mcp#readme"
}
