groundmail-mcp 0.31.1 → 0.31.3

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 (2) hide show
  1. package/dist/index.js +11 -8
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -305,7 +305,10 @@ var emailItem = object(
305
305
  opened_at: nullableString("First open (ISO 8601); needs open tracking on the sending domain"),
306
306
  clicked_at: nullableString("First tracked-link click (ISO 8601); needs click tracking on the sending domain"),
307
307
  batch_id: nullableString("The batch send it came from (batch_\u2026), for get_batch and cancel_batch; null for a single send"),
308
- tenant: nullableString("External id of the tenant the email was sent as. Present only when it was sent as a tenant"),
308
+ tenant: nullableString(
309
+ "External id of the tenant the email was sent as. Present only when it was sent as a tenant; null once that tenant is deleted"
310
+ ),
311
+ tenant_deleted: boolean("True when the email was sent as a tenant that has since been deleted. Absent otherwise"),
309
312
  stream: string("Mail stream it went out on: transactional, product or newsletter (each sends from its own IPs)"),
310
313
  detected_category: nullableString(
311
314
  "What Groundmail decided the email is: transactional or product. Null while it is being checked, when its template was not settled yet, and for mail Groundmail does not check (newsletter, tests)"
@@ -2056,8 +2059,8 @@ var MCP_TOOLS = [
2056
2059
  description: "Recipient email address. A \u2026@simulator.groundmail.dev address simulates an outcome and never delivers"
2057
2060
  },
2058
2061
  subject: { type: "string", description: "Subject line. Optional when using a published template" },
2059
- html: { type: "string", description: "HTML body. Not used with template_id or template_alias" },
2060
- text: { type: "string", description: "Plain-text body. Not used with template_id or template_alias" },
2062
+ html: { type: "string", description: "HTML body, sent as written. Put tables and formatting here, with inline styles: Markdown is not converted. Not used with template_id or template_alias" },
2063
+ text: { type: "string", description: 'Plain-text body. Left out with html, one is built from the HTML (table rows as lines, cells separated by " | ", link URLs kept). Not used with template_id or template_alias' },
2061
2064
  reply_to: { type: "string", description: "Address that replies should go to" },
2062
2065
  template_id: { type: "string", description: "Published template UUID" },
2063
2066
  template_alias: { type: "string", description: "Published template alias" },
@@ -3175,8 +3178,8 @@ var MCP_TOOLS = [
3175
3178
  to: { type: ["string", "array"], items: { type: "string" }, description: "Recipient address, or a list of them" },
3176
3179
  cc: { type: ["string", "array"], items: { type: "string" }, description: "Cc address, or a list of them" },
3177
3180
  subject: { type: "string", description: "Subject line" },
3178
- text: { type: "string", description: "Plain-text body. Provide text, html or both" },
3179
- html: { type: "string", description: "HTML body" },
3181
+ text: { type: "string", description: "Plain-text body. Provide text, html or both; left out, one is built from the html" },
3182
+ html: { type: "string", description: "HTML body, sent as written. Put tables and formatting here, with inline styles: Markdown is not converted" },
3180
3183
  idempotency_key: idempotencyProp
3181
3184
  },
3182
3185
  required: ["mailbox", "to", "subject"]
@@ -3198,8 +3201,8 @@ var MCP_TOOLS = [
3198
3201
  properties: {
3199
3202
  mailbox: mailboxProp,
3200
3203
  message_id: { type: "string", description: "The received message to answer (mbm_\u2026)" },
3201
- text: { type: "string", description: "Plain-text body. Provide text, html or both" },
3202
- html: { type: "string", description: "HTML body" },
3204
+ text: { type: "string", description: "Plain-text body. Provide text, html or both; left out, one is built from the html" },
3205
+ html: { type: "string", description: "HTML body, sent as written. Put tables and formatting here, with inline styles: Markdown is not converted" },
3203
3206
  reply_all: { type: "boolean", description: "Also copy everyone else on the message. Each of them counts toward the new-recipient limits" },
3204
3207
  idempotency_key: idempotencyProp
3205
3208
  },
@@ -3279,7 +3282,7 @@ function resolveApiKey() {
3279
3282
  }
3280
3283
 
3281
3284
  // src/server.ts
3282
- var MCP_SERVER_VERSION = "0.31.1";
3285
+ var MCP_SERVER_VERSION = "0.31.2";
3283
3286
  var MCP_SERVER_INSTRUCTIONS = [
3284
3287
  "Groundmail sends and receives email for apps and AI agents, from domains the user has verified.",
3285
3288
  'To test before a domain is verified, call send_email with from "noreply@mail.groundmail.dev" and to set to the Groundmail account email; sandbox sends to any other address are rejected.',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "groundmail-mcp",
3
- "version": "0.31.1",
3
+ "version": "0.31.3",
4
4
  "mcpName": "io.github.Groundmail/groundmail",
5
5
  "description": "Groundmail MCP server: send and receive email, give agents mailboxes, manage domains, templates, webhooks and suppressions from Claude, Cursor, ChatGPT and other MCP clients",
6
6
  "license": "MIT",
@@ -41,13 +41,13 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@modelcontextprotocol/sdk": "^1.32.2",
44
- "groundmail": "0.57.0"
44
+ "groundmail": "0.58.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "tsup": "^9.0.0",
48
48
  "typescript": "^6.0.3",
49
49
  "vitest": "^5.1.0",
50
- "@types/node": "^20"
50
+ "@types/node": "^22"
51
51
  },
52
52
  "bugs": {
53
53
  "url": "https://github.com/Groundmail/groundmail-mcp/issues"