groundmail-mcp 0.31.0 → 0.31.1

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 +7 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -306,7 +306,10 @@ var emailItem = object(
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
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)")
309
+ stream: string("Mail stream it went out on: transactional, product or newsletter (each sends from its own IPs)"),
310
+ detected_category: nullableString(
311
+ "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)"
312
+ )
310
313
  },
311
314
  ["id", "from", "to", "subject", "status"]
312
315
  );
@@ -454,7 +457,7 @@ var templateItem = object(
454
457
  description: "Variable names the template uses"
455
458
  },
456
459
  unsubscribe_enabled: boolean("Whether managed unsubscribe is on for sends using this template"),
457
- category: string("transactional or product"),
460
+ category: string("Deprecated and ignored: Groundmail decides the category from the published content"),
458
461
  folder: nullableString("Folder the template is filed in, or null"),
459
462
  sender_id: nullableString("Sender the template goes out as when a send sets neither from nor sender; null uses the default sender"),
460
463
  published_version_id: nullableString("Id of the version sends currently use"),
@@ -2066,7 +2069,7 @@ var MCP_TOOLS = [
2066
2069
  category: {
2067
2070
  type: "string",
2068
2071
  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"
2072
+ 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
2073
  },
2071
2074
  tenant: tenantProp(
2072
2075
  "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 +3279,7 @@ function resolveApiKey() {
3276
3279
  }
3277
3280
 
3278
3281
  // src/server.ts
3279
- var MCP_SERVER_VERSION = "0.31.0";
3282
+ var MCP_SERVER_VERSION = "0.31.1";
3280
3283
  var MCP_SERVER_INSTRUCTIONS = [
3281
3284
  "Groundmail sends and receives email for apps and AI agents, from domains the user has verified.",
3282
3285
  '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.1",
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.57.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "tsup": "^9.0.0",