proton-workflow-connector
v1.3.0Unofficial self-hosted MCP connector for Proton Mail Bridge and SimpleLogin.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_folders
List folders visible through Proton Mail Bridge IMAP.
folder_status
Get total and unread message counts for one folder.
| Parameter | Type | Description |
|---|---|---|
name * | string |
create_folder
Create a folder or label using its full Bridge mailbox name.
| Parameter | Type | Description |
|---|---|---|
name * | string |
rename_folder
Rename one folder or label.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
new_name * | string |
delete_folder
Permanently delete a folder after explicit confirmation.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
confirm | boolean |
subscribe_folder
Subscribe to one IMAP folder.
| Parameter | Type | Description |
|---|---|---|
name * | string |
unsubscribe_folder
Unsubscribe from one IMAP folder.
| Parameter | Type | Description |
|---|---|---|
name * | string |
search_mail
Search mail by IMAP criteria and return message summaries with numeric UIDs. `larger`/`smaller` filter by message size in bytes. `has_attachment` is a best-effort filter (matches multipart/mixed), so it catches most attachments but is not exhaustive.
| Parameter | Type | Description |
|---|---|---|
before | ||
folder | string | |
has_attachment | ||
larger | ||
limit | integer | |
query | ||
sender | ||
since | ||
smaller | ||
starred | ||
subject | ||
to | ||
unread |
search_all_mail
Search all selectable folders and deduplicate results by Message-ID. `larger`/`smaller` filter by size in bytes; `has_attachment` is a best-effort multipart/mixed filter.
| Parameter | Type | Description |
|---|---|---|
before | ||
folders | ||
has_attachment | ||
larger | ||
limit | integer | |
query | ||
sender | ||
since | ||
smaller | ||
starred | ||
subject | ||
to | ||
unread |
poll_mailbox
Return messages that arrived since the last poll for building triggers and automations. Uses a persistent per-cursor UID position. The first call for a cursor baselines to the current mailbox head and returns no messages, so you only ever receive genuinely new mail. Pass a stable cursor_name to track several independent triggers over the same folder.
| Parameter | Type | Description |
|---|---|---|
cursor_name | ||
folder | string | |
limit | integer | |
query | ||
sender | ||
subject | ||
unread |
poll_aliases
Return SimpleLogin aliases created since the last poll, for building triggers and automations. The pull-side counterpart of the push watcher's ``simplelogin_alias`` source. Uses a persistent cursor (the maximum alias id seen). The first call for a cursor baselines to the current highest alias id and returns no aliases, so you only ever receive genuinely new aliases. ``query`` matches a substring of the alias email. Pass a stable cursor_name to track several independent triggers.
| Parameter | Type | Description |
|---|---|---|
cursor_name | ||
limit | integer | |
query |
read_mail
Read one message by numeric IMAP UID.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
folder | string | |
mark_seen | boolean | |
max_body_chars |
read_thread
Read messages related to one message by Message-ID references.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
folder | string | |
limit | integer | |
max_body_chars |
get_headers
Return a message's full headers plus parsed DMARC/DKIM/SPF, Proton encryption/origin/spam markers, and any List-Unsubscribe options. Use it for triage and sender verification.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
folder | string |
inspect_attachments
List attachment metadata for a message without returning attachment bodies.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
folder | string |
download_attachment
Return one attachment as Base64 with its filename and MIME metadata.
| Parameter | Type | Description |
|---|---|---|
attachment_index * | integer | |
message_id * | string | |
folder | string |
send_mail
Send mail through Proton Mail Bridge SMTP.
| Parameter | Type | Description |
|---|---|---|
subject * | string | |
text * | string | |
to * | ||
attachments | ||
bcc | ||
cc | ||
dry_run | boolean | |
from_address | ||
html | ||
reply_to | ||
sender_name | ||
trusted_html | boolean |
reply_mail
Reply to the sender while preserving standard email thread headers.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
text * | string | |
attachments | ||
dry_run | boolean | |
folder | string | |
from_address | ||
html | ||
sender_name | ||
trusted_html | boolean |
reply_all
Reply to all original recipients except configured sender addresses.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
text * | string | |
attachments | ||
dry_run | boolean | |
folder | string | |
from_address | ||
html | ||
sender_name | ||
trusted_html | boolean |
forward_mail
Forward one message with optional original and new attachments.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
to * | ||
attachments | ||
bcc | ||
cc | ||
dry_run | boolean | |
folder | string | |
from_address | ||
html | ||
include_original_attachments | boolean | |
sender_name | ||
text | string | |
trusted_html | boolean |
draft_reply
Compose a reply and save it to Drafts for review instead of sending it.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
text * | string | |
attachments | ||
folder | string | |
from_address | ||
html | ||
reply_all | boolean | |
sender_name | ||
trusted_html | boolean |
draft_forward
Compose a forward and save it to Drafts for review instead of sending it.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
to * | ||
attachments | ||
bcc | ||
cc | ||
folder | string | |
from_address | ||
html | ||
include_original_attachments | boolean | |
sender_name | ||
text | string | |
trusted_html | boolean |
create_draft
Create a draft message in the configured drafts folder.
| Parameter | Type | Description |
|---|---|---|
subject * | string | |
text * | string | |
to * | ||
attachments | ||
bcc | ||
cc | ||
folder | ||
from_address | ||
html | ||
sender_name | ||
trusted_html | boolean |
update_draft
Replace a draft by creating the new draft before deleting the old UID.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
subject * | string | |
text * | string | |
to * | ||
attachments | ||
bcc | ||
cc | ||
folder | ||
from_address | ||
html | ||
sender_name | ||
trusted_html | boolean |
delete_draft
Delete a draft by numeric IMAP UID.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
confirm | boolean | |
folder |
send_draft
Send an existing draft and remove it after SMTP accepts the message.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
folder |
mark_read
Mark one message read.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
folder | string |
mark_unread
Mark one message unread.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
folder | string |
star_message
Star one message.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
folder | string |
unstar_message
Remove the star from one message.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
folder | string |
move_message
Move one message to another folder.
| Parameter | Type | Description |
|---|---|---|
destination_folder * | string | |
message_id * | string | |
folder | string |
copy_message
Copy one message to another folder.
| Parameter | Type | Description |
|---|---|---|
destination_folder * | string | |
message_id * | string | |
folder | string |
list_labels
List Proton labels (additive tags under the Labels/ prefix). Starred is managed separately.
apply_label
Add a Proton label to a message. The message keeps its folder; labels are additive.
| Parameter | Type | Description |
|---|---|---|
label * | string | |
message_id * | string | |
folder | string |
remove_label
Remove a Proton label from a message without moving or deleting the message.
| Parameter | Type | Description |
|---|---|---|
label * | string | |
message_id * | string | |
folder | string |
unsubscribe
Unsubscribe from a mailing list via its List-Unsubscribe header (one-click HTTPS or mailto). Makes an outbound request or email to an address the sender controls, so use it deliberately.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
folder | string |
archive_message
Move one message to the configured archive folder.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
folder | string |
trash_message
Move one message to the configured trash folder.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
folder | string |
mark_spam
Move one message to the configured Spam folder.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
folder | string |
mark_not_spam
Move one message from Spam to another folder.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
destination_folder | string |
restore_message
Restore one message from trash or another folder.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
destination_folder | string | |
folder |
permanently_delete_message
Move one message from a writable folder through Trash, then selectively expunge it.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | |
confirm | boolean | |
dry_run | boolean | |
folder | string |
bulk_mark_read
Mark explicit message UIDs read, capped by PROTON_MCP_BULK_LIMIT.
| Parameter | Type | Description |
|---|---|---|
message_ids * | array | |
dry_run | boolean | |
folder | string |
bulk_mark_unread
Mark explicit message UIDs unread, capped by PROTON_MCP_BULK_LIMIT.
| Parameter | Type | Description |
|---|---|---|
message_ids * | array | |
dry_run | boolean | |
folder | string |
bulk_star
Star explicit message UIDs, capped by PROTON_MCP_BULK_LIMIT.
| Parameter | Type | Description |
|---|---|---|
message_ids * | array | |
dry_run | boolean | |
folder | string |
bulk_unstar
Unstar explicit message UIDs, capped by PROTON_MCP_BULK_LIMIT.
| Parameter | Type | Description |
|---|---|---|
message_ids * | array | |
dry_run | boolean | |
folder | string |
bulk_move
Move explicit message UIDs to another folder, capped by PROTON_MCP_BULK_LIMIT.
| Parameter | Type | Description |
|---|---|---|
destination_folder * | string | |
message_ids * | array | |
dry_run | boolean | |
folder | string |
bulk_copy
Copy explicit message UIDs, capped by PROTON_MCP_BULK_LIMIT.
| Parameter | Type | Description |
|---|---|---|
destination_folder * | string | |
message_ids * | array | |
dry_run | boolean | |
folder | string |
bulk_archive
Archive explicit message UIDs, capped by PROTON_MCP_BULK_LIMIT.
| Parameter | Type | Description |
|---|---|---|
message_ids * | array | |
dry_run | boolean | |
folder | string |
bulk_trash
Trash explicit message UIDs, capped by PROTON_MCP_BULK_LIMIT.
| Parameter | Type | Description |
|---|---|---|
message_ids * | array | |
dry_run | boolean | |
folder | string |
bulk_restore
Restore explicit message UIDs, capped by PROTON_MCP_BULK_LIMIT.
| Parameter | Type | Description |
|---|---|---|
message_ids * | array | |
destination_folder | string | |
dry_run | boolean | |
folder |
bulk_permanently_delete
Move explicit UIDs through Trash and expunge them after confirmation.
| Parameter | Type | Description |
|---|---|---|
message_ids * | array | |
confirm | boolean | |
dry_run | boolean | |
folder | string |
empty_trash
Permanently empty the configured Trash folder after confirmation.
| Parameter | Type | Description |
|---|---|---|
confirm | boolean | |
dry_run | boolean |
empty_spam
Move Spam messages through Trash and expunge them after confirmation.
| Parameter | Type | Description |
|---|---|---|
confirm | boolean | |
dry_run | boolean |
simplelogin_user_info
Get SimpleLogin account information.
simplelogin_stats
Get SimpleLogin alias and mail activity stats.
simplelogin_list_aliases
List SimpleLogin aliases.
| Parameter | Type | Description |
|---|---|---|
disabled | ||
enabled | ||
page_id | integer | |
pinned | ||
query |
simplelogin_get_alias
Get one SimpleLogin alias.
| Parameter | Type | Description |
|---|---|---|
alias_id * | integer |
simplelogin_create_random_alias
Create a random SimpleLogin alias.
| Parameter | Type | Description |
|---|---|---|
hostname | ||
mode | ||
note |
simplelogin_get_alias_options
List available custom-alias suffixes, including the signed_suffix that simplelogin_create_custom_alias requires. Suffix signatures expire after a few minutes, so call this immediately before creating the alias.
| Parameter | Type | Description |
|---|---|---|
hostname |
simplelogin_create_custom_alias
Create a custom SimpleLogin alias.
| Parameter | Type | Description |
|---|---|---|
alias_prefix * | string | |
mailbox_ids * | array | |
signed_suffix * | string | |
hostname | ||
name | ||
note |
simplelogin_update_alias
Update SimpleLogin alias metadata.
| Parameter | Type | Description |
|---|---|---|
alias_id * | integer | |
disable_pgp | ||
mailbox_id | ||
mailbox_ids | ||
name | ||
note | ||
pinned |
simplelogin_toggle_alias
Toggle a SimpleLogin alias enabled or disabled.
| Parameter | Type | Description |
|---|---|---|
alias_id * | integer |
simplelogin_delete_alias
Delete a SimpleLogin alias.
| Parameter | Type | Description |
|---|---|---|
alias_id * | integer | |
confirm | boolean |
simplelogin_list_alias_contacts
List contacts for a SimpleLogin alias.
| Parameter | Type | Description |
|---|---|---|
alias_id * | integer | |
page_id | integer |
simplelogin_create_alias_contact
Create a contact for a SimpleLogin alias.
| Parameter | Type | Description |
|---|---|---|
alias_id * | integer | |
contact * | string |
simplelogin_list_mailboxes
List SimpleLogin mailboxes.
server_status
Check configured service availability without returning credentials.