groundmail-mcp 0.31.0 → 0.31.2

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 -5
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -305,8 +305,14 @@ 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"),
309
- stream: string("Mail stream it went out on: transactional, product or newsletter (each sends from its own IPs)")
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"),
312
+ stream: string("Mail stream it went out on: transactional, product or newsletter (each sends from its own IPs)"),
313
+ detected_category: nullableString(
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)"
315
+ )
310
316
  },
311
317
  ["id", "from", "to", "subject", "status"]
312
318
  );
@@ -454,7 +460,7 @@ var templateItem = object(
454
460
  description: "Variable names the template uses"
455
461
  },
456
462
  unsubscribe_enabled: boolean("Whether managed unsubscribe is on for sends using this template"),
457
- category: string("transactional or product"),
463
+ category: string("Deprecated and ignored: Groundmail decides the category from the published content"),
458
464
  folder: nullableString("Folder the template is filed in, or null"),
459
465
  sender_id: nullableString("Sender the template goes out as when a send sets neither from nor sender; null uses the default sender"),
460
466
  published_version_id: nullableString("Id of the version sends currently use"),
@@ -2066,7 +2072,7 @@ var MCP_TOOLS = [
2066
2072
  category: {
2067
2073
  type: "string",
2068
2074
  enum: ["transactional", "product", "newsletter"],
2069
- description: "transactional (default): sign-in codes, receipts, alerts. product: onboarding, lifecycle and notification email, with one-click unsubscribe. newsletter: opt-in newsletters, for approved accounts only (otherwise the send fails with newsletter_not_enabled), sent from separate IPs with one-click unsubscribe"
2075
+ description: "Usually omit it: Groundmail decides whether each email is transactional or product, and ignores those two values here (see detected_category on the email). Set newsletter only for opt-in newsletters on an account approved for them (otherwise the send fails with newsletter_not_enabled); they go from separate IPs with one-click unsubscribe"
2070
2076
  },
2071
2077
  tenant: tenantProp(
2072
2078
  "Send as this tenant: the send uses its domains, suppression list, pause switch and daily limit. Omit to send from the account as a whole"
@@ -3276,7 +3282,7 @@ function resolveApiKey() {
3276
3282
  }
3277
3283
 
3278
3284
  // src/server.ts
3279
- var MCP_SERVER_VERSION = "0.31.0";
3285
+ var MCP_SERVER_VERSION = "0.31.2";
3280
3286
  var MCP_SERVER_INSTRUCTIONS = [
3281
3287
  "Groundmail sends and receives email for apps and AI agents, from domains the user has verified.",
3282
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.0",
3
+ "version": "0.31.2",
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,7 +41,7 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@modelcontextprotocol/sdk": "^1.32.2",
44
- "groundmail": "0.56.0"
44
+ "groundmail": "0.58.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "tsup": "^9.0.0",