proton-mail-bridge-client 2.1.37 → 2.1.38
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 +7 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -391,7 +391,7 @@ const TOOLS = [
|
|
|
391
391
|
},
|
|
392
392
|
{
|
|
393
393
|
name: "list_drafts",
|
|
394
|
-
description: "List all locally saved drafts with their status, subject, and timestamps. Attachment content is omitted here (filename/type/size only) — use get_draft for the full attachment content of one draft. Each draft's body is also truncated to a short preview (bodyTruncated:true, bodyLength gives the real size) — use get_draft for the full body of one draft. Use to review in-progress or unsent messages.
|
|
394
|
+
description: "List all locally saved drafts with their status, subject, and timestamps. Does NOT list drafts stored only on the Proton server — use list_remote_drafts for those. Prefer get_draft when you already have a draftId and need the full content. Attachment content is omitted here (filename/type/size only) — use get_draft for the full attachment content of one draft. Each draft's body is also truncated to a short preview (bodyTruncated:true, bodyLength gives the real size) — use get_draft for the full body of one draft. Use to review in-progress or unsent messages.",
|
|
395
395
|
annotations: { readOnlyHint: true },
|
|
396
396
|
inputSchema: {
|
|
397
397
|
type: "object",
|
|
@@ -859,7 +859,7 @@ const TOOLS = [
|
|
|
859
859
|
},
|
|
860
860
|
{
|
|
861
861
|
name: "update_message_labels",
|
|
862
|
-
description: "Add or remove Proton labels on a single message without moving it. Labels live under the Labels/ namespace (e.g. 'Labels/Work'). Use for one message at a time.
|
|
862
|
+
description: "Add or remove Proton labels on a single message without moving it. Prefer bulk_update_labels to apply label changes across multiple messages. Labels live under the Labels/ namespace (e.g. 'Labels/Work'). Use for one message at a time. Create missing labels first with create_folder using a 'Labels/' prefix.",
|
|
863
863
|
annotations: { destructiveHint: false },
|
|
864
864
|
inputSchema: {
|
|
865
865
|
type: "object",
|
|
@@ -881,7 +881,7 @@ const TOOLS = [
|
|
|
881
881
|
},
|
|
882
882
|
{
|
|
883
883
|
name: "update_message_flags",
|
|
884
|
-
description: "Add or remove arbitrary IMAP flags on a single message, then verify the server applied them. Returns notApplied[] listing flags the server silently dropped. Use for custom IMAP flags (e.g. \\\\Answered) or when mark_email_read / star_email don't cover the flag you need.
|
|
884
|
+
description: "Add or remove arbitrary IMAP flags on a single message, then verify the server applied them. Prefer bulk_update_flags to update flags across multiple messages at once. Returns notApplied[] listing flags the server silently dropped. Use for custom IMAP flags (e.g. \\\\Answered) or when mark_email_read / star_email don't cover the flag you need. \\\\Seen/\\\\Flagged/\\\\Deleted are gated the same as mark_email_read/star_email/delete_email: each requires the matching action in PROTONMAIL_ALLOWED_ACTIONS, and setting \\\\Deleted also requires confirmed:true when PROTONMAIL_CONFIRM_DESTRUCTIVE is enabled.",
|
|
885
885
|
annotations: { destructiveHint: false },
|
|
886
886
|
inputSchema: {
|
|
887
887
|
type: "object",
|
|
@@ -939,7 +939,7 @@ const TOOLS = [
|
|
|
939
939
|
},
|
|
940
940
|
{
|
|
941
941
|
name: "empty_folder",
|
|
942
|
-
description: "Permanently delete ALL messages in a folder at once. Use only when the goal is to clear an entire folder (e.g. emptying Trash or Spam). Only available when PROTONMAIL_ALLOW_EMPTY_FOLDER=true. Irreversible.
|
|
942
|
+
description: "Permanently delete ALL messages in a folder at once. Prefer bulk_delete when removing a subset of messages rather than everything in the folder. Use only when the goal is to clear an entire folder (e.g. emptying Trash or Spam). Only available when PROTONMAIL_ALLOW_EMPTY_FOLDER=true. Irreversible.",
|
|
943
943
|
annotations: { destructiveHint: true },
|
|
944
944
|
inputSchema: {
|
|
945
945
|
type: "object",
|
|
@@ -969,7 +969,7 @@ const TOOLS = [
|
|
|
969
969
|
},
|
|
970
970
|
{
|
|
971
971
|
name: "bulk_delete",
|
|
972
|
-
description: "Delete multiple emails by explicit ID list or by search criteria (from/subject/date/flags). Use when you have specific IDs to delete or want to filter by sender, subject, or date range. Accepts emailIds[] OR match criteria (XOR). permanent:true permanently expunges; false moves to Trash. Use dryRun to preview.
|
|
972
|
+
description: "Delete multiple emails by explicit ID list or by search criteria (from/subject/date/flags). Prefer empty_folder to clear an entire folder. Prefer delete_email for a single message. Prefer batch_email_action when the same set of IDs needs a mix of actions, not just deletion. Use when you have specific IDs to delete or want to filter by sender, subject, or date range. Accepts emailIds[] OR match criteria (XOR). permanent:true permanently expunges; false moves to Trash. Use dryRun to preview.",
|
|
973
973
|
annotations: { destructiveHint: true },
|
|
974
974
|
inputSchema: {
|
|
975
975
|
type: "object",
|
|
@@ -986,7 +986,7 @@ const TOOLS = [
|
|
|
986
986
|
},
|
|
987
987
|
{
|
|
988
988
|
name: "bulk_update_flags",
|
|
989
|
-
description: "Add or remove IMAP flags on multiple messages simultaneously. Use when the same flag change (e.g. \\\\Seen, \\\\Flagged) should apply to several messages. Accepts emailIds[] OR match+folder (XOR). Returns notApplied[] per message for flags the server silently dropped.
|
|
989
|
+
description: "Add or remove IMAP flags on multiple messages simultaneously. Prefer update_message_flags for a single message when you need per-flag server verification. Use when the same flag change (e.g. \\\\Seen, \\\\Flagged) should apply to several messages. Accepts emailIds[] OR match+folder (XOR). Returns notApplied[] per message for flags the server silently dropped. \\\\Seen/\\\\Flagged/\\\\Deleted are gated the same as mark_email_read/star_email/bulk_delete: each requires the matching action in PROTONMAIL_ALLOWED_ACTIONS, and setting \\\\Deleted also requires confirmed:true when PROTONMAIL_CONFIRM_DESTRUCTIVE is enabled.",
|
|
990
990
|
annotations: { destructiveHint: false },
|
|
991
991
|
inputSchema: {
|
|
992
992
|
type: "object",
|
|
@@ -1123,7 +1123,7 @@ const TOOLS = [
|
|
|
1123
1123
|
},
|
|
1124
1124
|
{
|
|
1125
1125
|
name: "batch_email_action",
|
|
1126
|
-
description: "Apply one action to a known list of email IDs in a single IMAP pass. Use when you already have the IDs and want to archive, trash, move, mark-read/unread, star/unstar, restore, or permanently delete them. Actions: mark_read, mark_unread, star, unstar, archive, trash, restore, move (requires targetFolder), delete (permanent expunge). Supports dryRun.
|
|
1126
|
+
description: "Apply one action to a known list of email IDs in a single IMAP pass. Prefer bulk_delete when selecting messages by search criteria (from/subject/date) rather than by ID. Prefer apply_thread_action when acting on a thread by threadId. Prefer empty_folder to clear an entire folder. Use when you already have the IDs and want to archive, trash, move, mark-read/unread, star/unstar, restore, or permanently delete them. Actions: mark_read, mark_unread, star, unstar, archive, trash, restore, move (requires targetFolder), delete (permanent expunge). Supports dryRun.",
|
|
1127
1127
|
annotations: { destructiveHint: true },
|
|
1128
1128
|
inputSchema: {
|
|
1129
1129
|
type: "object",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "proton-mail-bridge-client",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.38",
|
|
4
4
|
"description": "Proton Mail Bridge Client — full-featured CLI and Claude Desktop MCP for Proton Mail via Proton Bridge. Read, search, send, draft, archive, manage folders, and more.",
|
|
5
5
|
"mcpName": "io.github.googlarz/proton-mail-bridge-client",
|
|
6
6
|
"type": "module",
|