apple-mail-mcp 2.10.26 → 2.10.27

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/README.md CHANGED
@@ -1085,10 +1085,15 @@ Create a Mail rule with one or more conditions and actions.
1085
1085
  | `conditions` | object[] | Yes | One or more `{field, operator, value}` (see below) |
1086
1086
  | `actions` | object | Yes | At least one of `markRead`, `markFlagged`, `delete`, `moveTo` |
1087
1087
  | `matchAll` | boolean | No | `true` (default) = all conditions must match; `false` = any |
1088
- | `enabled` | boolean | No | Whether the rule is enabled on creation (default `true`) |
1088
+ | `enabled` | boolean | No | Whether the rule is enabled on creation (default `false`) |
1089
1089
 
1090
1090
  Each condition is `{ field, operator, value }` where `field` is one of `from`, `to`, `cc`, `subject`, `content` and `operator` is one of `contains`, `notContains`, `equals`, `beginsWith`, `endsWith`. Actions: `markRead` / `markFlagged` / `delete` (booleans), `moveTo` (mailbox name) with optional `moveToAccount`.
1091
1091
 
1092
+ New rules are created **disabled by default**, including rules that delete or move
1093
+ messages. Review the conditions and actions with `list-rules` and in Mail.app,
1094
+ then call `enable-rule` explicitly when the rule is approved. Set
1095
+ `enabled: true` only when immediate activation is deliberate.
1096
+
1092
1097
  **Example:**
1093
1098
  ```json
1094
1099
  {
package/build/index.js CHANGED
@@ -82068,7 +82068,7 @@ end tell`;
82068
82068
  if (!actionStmts.length) {
82069
82069
  return { success: false, error: "A rule needs at least one action." };
82070
82070
  }
82071
- const enabled = opts.enabled !== false;
82071
+ const enabled = opts.enabled === true;
82072
82072
  const matchAll = opts.matchAll !== false;
82073
82073
  const script = buildAppLevelScript(`
82074
82074
  try
@@ -86249,7 +86249,7 @@ registerTool(
86249
86249
  "At least one action is required (markRead, markFlagged, delete, or moveTo)"
86250
86250
  ),
86251
86251
  matchAll: external_exports.boolean().default(true),
86252
- enabled: external_exports.boolean().default(true)
86252
+ enabled: external_exports.boolean().default(false).describe("Enable immediately; defaults to false so the rule must be reviewed first")
86253
86253
  },
86254
86254
  outputSchema: {
86255
86255
  name: external_exports.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apple-mail-mcp",
3
- "version": "2.10.26",
3
+ "version": "2.10.27",
4
4
  "description": "MCP server for Apple Mail - read, search, send, and manage emails via Claude and other AI assistants",
5
5
  "type": "module",
6
6
  "main": "build/index.js",