@weijingwei/email 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/README.md +87 -0
  2. package/dist/bundle.js +83365 -0
  3. package/dist/cli.js +66556 -0
  4. package/package.json +39 -0
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@weijingwei/email",
3
+ "version": "1.0.0",
4
+ "description": "Email MCP Server - SMTP/IMAP email operations via MCP protocol",
5
+ "main": "dist/bundle.js",
6
+ "bin": {
7
+ "email-mcp": "./dist/cli.js"
8
+ },
9
+ "files": ["dist", "README.md"],
10
+ "scripts": {
11
+ "build": "npm run build:mcp && npm run build:cli",
12
+ "build:mcp": "esbuild src/index.ts --bundle --platform=node --outfile=dist/bundle.js --format=cjs",
13
+ "build:cli": "esbuild src/cli.ts --bundle --platform=node --outfile=dist/cli.js --format=cjs --banner:js=\"#!/usr/bin/env node\"",
14
+ "prepublishOnly": "npm run build"
15
+ },
16
+ "keywords": ["mcp", "model-context-protocol", "email", "smtp", "imap", "claude", "ai"],
17
+ "author": "wjw",
18
+ "license": "MIT",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "git+https://github.com/wjw/email-mcp.git"
22
+ },
23
+ "dependencies": {
24
+ "@modelcontextprotocol/sdk": "^1.0.0",
25
+ "nodemailer": "^6.9.0",
26
+ "imap-simple": "^5.0.0",
27
+ "mailparser": "^3.6.0",
28
+ "zod": "^3.22.0"
29
+ },
30
+ "devDependencies": {
31
+ "typescript": "^5.3.0",
32
+ "@types/node": "^20.10.0",
33
+ "@types/nodemailer": "^6.4.0",
34
+ "esbuild": "^0.20.0"
35
+ },
36
+ "engines": {
37
+ "node": ">=18.0.0"
38
+ }
39
+ }