shipmail-mcp 0.6.4 → 0.6.5

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 CHANGED
@@ -1211,6 +1211,31 @@ var inboxBodyValueSchema = z.object({
1211
1211
  value: z.string(),
1212
1212
  is_encoding_problem: z.boolean()
1213
1213
  });
1214
+ var emailAuthVerdictSchema = z.enum([
1215
+ "pass",
1216
+ "fail",
1217
+ "softfail",
1218
+ "neutral",
1219
+ "none",
1220
+ "temperror",
1221
+ "permerror",
1222
+ "policy",
1223
+ "unknown"
1224
+ ]);
1225
+ var emailAuthenticationResultsSchema = z.object({
1226
+ spf: emailAuthVerdictSchema,
1227
+ dkim: emailAuthVerdictSchema,
1228
+ dmarc: emailAuthVerdictSchema,
1229
+ spam: z.object({
1230
+ isSpam: z.boolean().nullable(),
1231
+ scoreMilli: z.number().int().nullable()
1232
+ }),
1233
+ raw: z.object({
1234
+ authenticationResults: z.string().nullable(),
1235
+ receivedSpf: z.string().nullable(),
1236
+ spamStatus: z.string().nullable()
1237
+ })
1238
+ });
1214
1239
  var inboxMessageSchema = z.object({
1215
1240
  object: z.literal("inbox_message"),
1216
1241
  id: z.string(),
@@ -1225,7 +1250,8 @@ var inboxMessageSchema = z.object({
1225
1250
  received_at: z.string(),
1226
1251
  preview: z.string(),
1227
1252
  has_attachment: z.boolean(),
1228
- size: z.number()
1253
+ size: z.number(),
1254
+ authentication_results: emailAuthenticationResultsSchema.nullable()
1229
1255
  });
1230
1256
  var inboxFullMessageSchema = inboxMessageSchema.omit({ object: true }).extend({
1231
1257
  object: z.literal("inbox_message_full"),
@@ -3829,7 +3855,8 @@ function toInboxMessageSummary(message) {
3829
3855
  received_at: message.received_at,
3830
3856
  preview: message.preview,
3831
3857
  has_attachment: message.has_attachment,
3832
- size: message.size
3858
+ size: message.size,
3859
+ authentication_results: message.authentication_results
3833
3860
  };
3834
3861
  }
3835
3862
  function toInboxMessageSummaries(messages) {
@@ -7141,7 +7168,7 @@ function registerTools(rawServer, client, allowedTools, grantedOrganizations = [
7141
7168
  }
7142
7169
 
7143
7170
  // src/version.ts
7144
- var VERSION = "0.6.4";
7171
+ var VERSION = "0.6.5";
7145
7172
 
7146
7173
  // src/server.ts
7147
7174
  var INSTRUCTIONS = `ShipMail MCP exposes the business email and calendar tools authorized by the connection's current ShipMail permissions.
package/dist/server.js CHANGED
@@ -1114,6 +1114,31 @@ var inboxBodyValueSchema = z.object({
1114
1114
  value: z.string(),
1115
1115
  is_encoding_problem: z.boolean()
1116
1116
  });
1117
+ var emailAuthVerdictSchema = z.enum([
1118
+ "pass",
1119
+ "fail",
1120
+ "softfail",
1121
+ "neutral",
1122
+ "none",
1123
+ "temperror",
1124
+ "permerror",
1125
+ "policy",
1126
+ "unknown"
1127
+ ]);
1128
+ var emailAuthenticationResultsSchema = z.object({
1129
+ spf: emailAuthVerdictSchema,
1130
+ dkim: emailAuthVerdictSchema,
1131
+ dmarc: emailAuthVerdictSchema,
1132
+ spam: z.object({
1133
+ isSpam: z.boolean().nullable(),
1134
+ scoreMilli: z.number().int().nullable()
1135
+ }),
1136
+ raw: z.object({
1137
+ authenticationResults: z.string().nullable(),
1138
+ receivedSpf: z.string().nullable(),
1139
+ spamStatus: z.string().nullable()
1140
+ })
1141
+ });
1117
1142
  var inboxMessageSchema = z.object({
1118
1143
  object: z.literal("inbox_message"),
1119
1144
  id: z.string(),
@@ -1128,7 +1153,8 @@ var inboxMessageSchema = z.object({
1128
1153
  received_at: z.string(),
1129
1154
  preview: z.string(),
1130
1155
  has_attachment: z.boolean(),
1131
- size: z.number()
1156
+ size: z.number(),
1157
+ authentication_results: emailAuthenticationResultsSchema.nullable()
1132
1158
  });
1133
1159
  var inboxFullMessageSchema = inboxMessageSchema.omit({ object: true }).extend({
1134
1160
  object: z.literal("inbox_message_full"),
@@ -3732,7 +3758,8 @@ function toInboxMessageSummary(message) {
3732
3758
  received_at: message.received_at,
3733
3759
  preview: message.preview,
3734
3760
  has_attachment: message.has_attachment,
3735
- size: message.size
3761
+ size: message.size,
3762
+ authentication_results: message.authentication_results
3736
3763
  };
3737
3764
  }
3738
3765
  function toInboxMessageSummaries(messages) {
@@ -7044,7 +7071,7 @@ function registerTools(rawServer, client, allowedTools, grantedOrganizations = [
7044
7071
  }
7045
7072
 
7046
7073
  // src/version.ts
7047
- var VERSION = "0.6.4";
7074
+ var VERSION = "0.6.5";
7048
7075
 
7049
7076
  // src/server.ts
7050
7077
  var INSTRUCTIONS = `ShipMail MCP exposes the business email and calendar tools authorized by the connection's current ShipMail permissions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shipmail-mcp",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "mcpName": "io.github.shipmail-to/shipmail-mcp",
5
5
  "description": "Official Model Context Protocol (MCP) server for Shipmail, a business email provider with REST API, webhooks, and custom-domain inboxes for AI agents.",
6
6
  "type": "module",
@@ -59,7 +59,7 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@modelcontextprotocol/server": "2.0.0",
62
- "shipmail": "0.4.10",
62
+ "shipmail": "0.4.11",
63
63
  "zod": "4.4.3"
64
64
  },
65
65
  "devDependencies": {
package/server.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/shipmail-to/shipmail-mcp",
7
7
  "source": "github"
8
8
  },
9
- "version": "0.6.4",
9
+ "version": "0.6.5",
10
10
  "websiteUrl": "https://shipmail.to/docs/mcp",
11
11
  "remotes": [
12
12
  {
@@ -27,7 +27,7 @@
27
27
  "registryType": "npm",
28
28
  "registryBaseUrl": "https://registry.npmjs.org",
29
29
  "identifier": "shipmail-mcp",
30
- "version": "0.6.4",
30
+ "version": "0.6.5",
31
31
  "transport": {
32
32
  "type": "stdio"
33
33
  },
package/smithery.yaml CHANGED
@@ -1,6 +1,6 @@
1
1
  # Smithery configuration file: https://smithery.ai/docs/build/project-config/smithery-yaml
2
2
  name: shipmail-mcp
3
- version: 0.6.4
3
+ version: 0.6.5
4
4
  description: Official Shipmail MCP server for AI-agent custom-domain business email inboxes with REST API and webhooks.
5
5
  author: ShipMail
6
6
  repository: https://github.com/shipmail-to/shipmail-mcp