groundmail-mcp 0.11.0 → 0.12.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.
- package/dist/index.js +6 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -238,6 +238,7 @@ var templateItem = object(
|
|
|
238
238
|
},
|
|
239
239
|
unsubscribe_enabled: boolean("Whether managed unsubscribe is on for sends using this template"),
|
|
240
240
|
category: string("transactional or product"),
|
|
241
|
+
folder: nullableString("Folder the template is filed in, or null"),
|
|
241
242
|
published_version_id: nullableString("Id of the version sends currently use"),
|
|
242
243
|
published_at: nullableString("When the template was last published (ISO 8601)"),
|
|
243
244
|
created_at: string("When the template was created (ISO 8601)"),
|
|
@@ -605,6 +606,7 @@ var EMAIL_WEBHOOK_EVENTS = /* @__PURE__ */ new Set([
|
|
|
605
606
|
"email.sent",
|
|
606
607
|
"email.delivered",
|
|
607
608
|
"email.delivery_delayed",
|
|
609
|
+
"email.held",
|
|
608
610
|
"email.bounced",
|
|
609
611
|
"email.complained",
|
|
610
612
|
"email.opened",
|
|
@@ -786,7 +788,8 @@ async function callMcpTool(client, name, args) {
|
|
|
786
788
|
...format === "blocks" || format === "html" ? { format } : {},
|
|
787
789
|
html: optString(args, "html"),
|
|
788
790
|
text: optString(args, "text"),
|
|
789
|
-
alias: optString(args, "alias")
|
|
791
|
+
alias: optString(args, "alias"),
|
|
792
|
+
...optString(args, "folder") ? { folder: optString(args, "folder") } : {}
|
|
790
793
|
})
|
|
791
794
|
);
|
|
792
795
|
}
|
|
@@ -1291,7 +1294,8 @@ var MCP_TOOLS = [
|
|
|
1291
1294
|
format: { type: "string", enum: ["html", "blocks"], description: "Template format (html or blocks)" },
|
|
1292
1295
|
html: { type: "string", description: "HTML body" },
|
|
1293
1296
|
text: { type: "string", description: "Plain-text body" },
|
|
1294
|
-
alias: { type: "string", description: "Optional short alias to reference the template by instead of its id" }
|
|
1297
|
+
alias: { type: "string", description: "Optional short alias to reference the template by instead of its id" },
|
|
1298
|
+
folder: { type: "string", description: "Optional folder to file the template in; created if it does not exist" }
|
|
1295
1299
|
},
|
|
1296
1300
|
required: ["name", "subject"]
|
|
1297
1301
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "groundmail-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.12.0",
|
|
4
4
|
"mcpName": "io.github.Groundmail/groundmail",
|
|
5
5
|
"description": "Groundmail MCP server: send transactional email, 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.30.0",
|
|
44
|
-
"groundmail": "0.
|
|
44
|
+
"groundmail": "0.21.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"tsup": "^8.5.0",
|