proton-workflow-connector

v1.3.0
io.github.NtrpyDev/proton-workflow-connector Checked 3 days ago Published 5 months ago

Unofficial 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.

ParameterTypeDescription
name *string

create_folder

Create a folder or label using its full Bridge mailbox name.

ParameterTypeDescription
name *string

rename_folder

Rename one folder or label.

ParameterTypeDescription
name *string
new_name *string

delete_folder

Permanently delete a folder after explicit confirmation.

ParameterTypeDescription
name *string
confirmboolean

subscribe_folder

Subscribe to one IMAP folder.

ParameterTypeDescription
name *string

unsubscribe_folder

Unsubscribe from one IMAP folder.

ParameterTypeDescription
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.

ParameterTypeDescription
before
folderstring
has_attachment
larger
limitinteger
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.

ParameterTypeDescription
before
folders
has_attachment
larger
limitinteger
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.

ParameterTypeDescription
cursor_name
folderstring
limitinteger
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.

ParameterTypeDescription
cursor_name
limitinteger
query

read_mail

Read one message by numeric IMAP UID.

ParameterTypeDescription
message_id *string
folderstring
mark_seenboolean
max_body_chars

read_thread

Read messages related to one message by Message-ID references.

ParameterTypeDescription
message_id *string
folderstring
limitinteger
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.

ParameterTypeDescription
message_id *string
folderstring

inspect_attachments

List attachment metadata for a message without returning attachment bodies.

ParameterTypeDescription
message_id *string
folderstring

download_attachment

Return one attachment as Base64 with its filename and MIME metadata.

ParameterTypeDescription
attachment_index *integer
message_id *string
folderstring

send_mail

Send mail through Proton Mail Bridge SMTP.

ParameterTypeDescription
subject *string
text *string
to *
attachments
bcc
cc
dry_runboolean
from_address
html
reply_to
sender_name
trusted_htmlboolean

reply_mail

Reply to the sender while preserving standard email thread headers.

ParameterTypeDescription
message_id *string
text *string
attachments
dry_runboolean
folderstring
from_address
html
sender_name
trusted_htmlboolean

reply_all

Reply to all original recipients except configured sender addresses.

ParameterTypeDescription
message_id *string
text *string
attachments
dry_runboolean
folderstring
from_address
html
sender_name
trusted_htmlboolean

forward_mail

Forward one message with optional original and new attachments.

ParameterTypeDescription
message_id *string
to *
attachments
bcc
cc
dry_runboolean
folderstring
from_address
html
include_original_attachmentsboolean
sender_name
textstring
trusted_htmlboolean

draft_reply

Compose a reply and save it to Drafts for review instead of sending it.

ParameterTypeDescription
message_id *string
text *string
attachments
folderstring
from_address
html
reply_allboolean
sender_name
trusted_htmlboolean

draft_forward

Compose a forward and save it to Drafts for review instead of sending it.

ParameterTypeDescription
message_id *string
to *
attachments
bcc
cc
folderstring
from_address
html
include_original_attachmentsboolean
sender_name
textstring
trusted_htmlboolean

create_draft

Create a draft message in the configured drafts folder.

ParameterTypeDescription
subject *string
text *string
to *
attachments
bcc
cc
folder
from_address
html
sender_name
trusted_htmlboolean

update_draft

Replace a draft by creating the new draft before deleting the old UID.

ParameterTypeDescription
message_id *string
subject *string
text *string
to *
attachments
bcc
cc
folder
from_address
html
sender_name
trusted_htmlboolean

delete_draft

Delete a draft by numeric IMAP UID.

ParameterTypeDescription
message_id *string
confirmboolean
folder

send_draft

Send an existing draft and remove it after SMTP accepts the message.

ParameterTypeDescription
message_id *string
folder

mark_read

Mark one message read.

ParameterTypeDescription
message_id *string
folderstring

mark_unread

Mark one message unread.

ParameterTypeDescription
message_id *string
folderstring

star_message

Star one message.

ParameterTypeDescription
message_id *string
folderstring

unstar_message

Remove the star from one message.

ParameterTypeDescription
message_id *string
folderstring

move_message

Move one message to another folder.

ParameterTypeDescription
destination_folder *string
message_id *string
folderstring

copy_message

Copy one message to another folder.

ParameterTypeDescription
destination_folder *string
message_id *string
folderstring

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.

ParameterTypeDescription
label *string
message_id *string
folderstring

remove_label

Remove a Proton label from a message without moving or deleting the message.

ParameterTypeDescription
label *string
message_id *string
folderstring

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.

ParameterTypeDescription
message_id *string
folderstring

archive_message

Move one message to the configured archive folder.

ParameterTypeDescription
message_id *string
folderstring

trash_message

Move one message to the configured trash folder.

ParameterTypeDescription
message_id *string
folderstring

mark_spam

Move one message to the configured Spam folder.

ParameterTypeDescription
message_id *string
folderstring

mark_not_spam

Move one message from Spam to another folder.

ParameterTypeDescription
message_id *string
destination_folderstring

restore_message

Restore one message from trash or another folder.

ParameterTypeDescription
message_id *string
destination_folderstring
folder

permanently_delete_message

Move one message from a writable folder through Trash, then selectively expunge it.

ParameterTypeDescription
message_id *string
confirmboolean
dry_runboolean
folderstring

bulk_mark_read

Mark explicit message UIDs read, capped by PROTON_MCP_BULK_LIMIT.

ParameterTypeDescription
message_ids *array
dry_runboolean
folderstring

bulk_mark_unread

Mark explicit message UIDs unread, capped by PROTON_MCP_BULK_LIMIT.

ParameterTypeDescription
message_ids *array
dry_runboolean
folderstring

bulk_star

Star explicit message UIDs, capped by PROTON_MCP_BULK_LIMIT.

ParameterTypeDescription
message_ids *array
dry_runboolean
folderstring

bulk_unstar

Unstar explicit message UIDs, capped by PROTON_MCP_BULK_LIMIT.

ParameterTypeDescription
message_ids *array
dry_runboolean
folderstring

bulk_move

Move explicit message UIDs to another folder, capped by PROTON_MCP_BULK_LIMIT.

ParameterTypeDescription
destination_folder *string
message_ids *array
dry_runboolean
folderstring

bulk_copy

Copy explicit message UIDs, capped by PROTON_MCP_BULK_LIMIT.

ParameterTypeDescription
destination_folder *string
message_ids *array
dry_runboolean
folderstring

bulk_archive

Archive explicit message UIDs, capped by PROTON_MCP_BULK_LIMIT.

ParameterTypeDescription
message_ids *array
dry_runboolean
folderstring

bulk_trash

Trash explicit message UIDs, capped by PROTON_MCP_BULK_LIMIT.

ParameterTypeDescription
message_ids *array
dry_runboolean
folderstring

bulk_restore

Restore explicit message UIDs, capped by PROTON_MCP_BULK_LIMIT.

ParameterTypeDescription
message_ids *array
destination_folderstring
dry_runboolean
folder

bulk_permanently_delete

Move explicit UIDs through Trash and expunge them after confirmation.

ParameterTypeDescription
message_ids *array
confirmboolean
dry_runboolean
folderstring

empty_trash

Permanently empty the configured Trash folder after confirmation.

ParameterTypeDescription
confirmboolean
dry_runboolean

empty_spam

Move Spam messages through Trash and expunge them after confirmation.

ParameterTypeDescription
confirmboolean
dry_runboolean

simplelogin_user_info

Get SimpleLogin account information.

simplelogin_stats

Get SimpleLogin alias and mail activity stats.

simplelogin_list_aliases

List SimpleLogin aliases.

ParameterTypeDescription
disabled
enabled
page_idinteger
pinned
query

simplelogin_get_alias

Get one SimpleLogin alias.

ParameterTypeDescription
alias_id *integer

simplelogin_create_random_alias

Create a random SimpleLogin alias.

ParameterTypeDescription
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.

ParameterTypeDescription
hostname

simplelogin_create_custom_alias

Create a custom SimpleLogin alias.

ParameterTypeDescription
alias_prefix *string
mailbox_ids *array
signed_suffix *string
hostname
name
note

simplelogin_update_alias

Update SimpleLogin alias metadata.

ParameterTypeDescription
alias_id *integer
disable_pgp
mailbox_id
mailbox_ids
name
note
pinned

simplelogin_toggle_alias

Toggle a SimpleLogin alias enabled or disabled.

ParameterTypeDescription
alias_id *integer

simplelogin_delete_alias

Delete a SimpleLogin alias.

ParameterTypeDescription
alias_id *integer
confirmboolean

simplelogin_list_alias_contacts

List contacts for a SimpleLogin alias.

ParameterTypeDescription
alias_id *integer
page_idinteger

simplelogin_create_alias_contact

Create a contact for a SimpleLogin alias.

ParameterTypeDescription
alias_id *integer
contact *string

simplelogin_list_mailboxes

List SimpleLogin mailboxes.

server_status

Check configured service availability without returning credentials.