# TrekMail MCP Server MCP server

Agent View of the PolicyLayer registry record for TrekMail MCP Server: identity, probed posture, risk grade, and all 248 tools classified. HTML page: https://policylayer.com/tools/trekmail-mcp-server

## Facts

- Server id: `trekmail/mcp-server`
- Homepage: https://github.com/trekmail/mcp-server
- Registry record: grade F, identity unverified
- Lifecycle: active
- Rate-limited: no
- Tools: 248
- Tool categories present: Destructive, Execute, Read, Write
- Tags: trekmail mcp server, admin, automation
- Record last modified: 2026-08-31T11:50:26.386Z

## Tools (248)

| Tool | Category | Risk | Record |
| --- | --- | --- | --- |
| `bulk_action` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/bulk-action.md |
| `cancel_bulk_migration` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/cancel-bulk-migration.md |
| `cancel_migration` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/cancel-migration.md |
| `cancel_scheduled` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/cancel-scheduled.md |
| `change_mailbox_password` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/change-mailbox-password.md |
| `confirm_delete_intent` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/confirm-delete-intent.md |
| `create_delete_intent` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/create-delete-intent.md |
| `delete_alias` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-alias.md |
| `delete_bulk_migration` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-bulk-migration.md |
| `delete_calendar_event` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-calendar-event.md |
| `delete_cloudflare_token` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-cloudflare-token.md |
| `delete_contact` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-contact.md |
| `delete_contact_group` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-contact-group.md |
| `delete_domain` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-domain.md |
| `delete_domain_smtp_profile` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-domain-smtp-profile.md |
| `delete_external_account` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-external-account.md |
| `delete_folder` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-folder.md |
| `delete_forwarding_address` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-forwarding-address.md |
| `delete_identity` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-identity.md |
| `delete_mail_rule` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-mail-rule.md |
| `delete_message` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-message.md |
| `delete_migration` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-migration.md |
| `delete_smtp_connection` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-smtp-connection.md |
| `delete_template` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/delete-template.md |
| `drive_bulk_purge` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/drive-bulk-purge.md |
| `drive_bulk_trash` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/drive-bulk-trash.md |
| `drive_device_revoke` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/drive-device-revoke.md |
| `drive_file_purge` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/drive-file-purge.md |
| `drive_file_trash` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/drive-file-trash.md |
| `drive_folder_purge` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/drive-folder-purge.md |
| `drive_folder_trash` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/drive-folder-trash.md |
| `drive_share_revoke` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/drive-share-revoke.md |
| `drive_trash_empty` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/drive-trash-empty.md |
| `empty_folder` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/empty-folder.md |
| `remove_contact_group_members` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/remove-contact-group-members.md |
| `remove_domain_alias` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/remove-domain-alias.md |
| `remove_domain_brand_logo` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/remove-domain-brand-logo.md |
| `remove_domain_branding` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/remove-domain-branding.md |
| `revoke_message_token` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/revoke-message-token.md |
| `unblock_sender` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/unblock-sender.md |
| `verify_cancel_job` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/verify-cancel-job.md |
| `verify_delete_job` | Destructive | Critical | https://policylayer.com/tools/trekmail-mcp-server/verify-delete-job.md |
| `dns_recheck` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/dns-recheck.md |
| `drive_device_rotate` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/drive-device-rotate.md |
| `resume_bulk_migration` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/resume-bulk-migration.md |
| `retry_bulk_migration` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/retry-bulk-migration.md |
| `retry_domain_dkim` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/retry-domain-dkim.md |
| `retry_migration` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/retry-migration.md |
| `send_message` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/send-message.md |
| `start_bulk_migration` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/start-bulk-migration.md |
| `start_migration` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/start-migration.md |
| `suspend_mailbox_login` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/suspend-mailbox-login.md |
| `test_domain_smtp` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/test-domain-smtp.md |
| `test_external_account` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/test-external-account.md |
| `test_smtp` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/test-smtp.md |
| `update_smtp_config` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/update-smtp-config.md |
| `upload_sieve_script` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/upload-sieve-script.md |
| `verify_domain_branding_dns` | Execute | High | https://policylayer.com/tools/trekmail-mcp-server/verify-domain-branding-dns.md |
| `agent_buy_verifier_credits` | Financial | Critical | https://policylayer.com/tools/trekmail-mcp-server/agent-buy-verifier-credits.md |
| `agent_subscribe_drive_addon` | Financial | Critical | https://policylayer.com/tools/trekmail-mcp-server/agent-subscribe-drive-addon.md |
| `agent_subscribe_mail_plan` | Financial | Critical | https://policylayer.com/tools/trekmail-mcp-server/agent-subscribe-mail-plan.md |
| `agent_subscribe_white_label` | Financial | Critical | https://policylayer.com/tools/trekmail-mcp-server/agent-subscribe-white-label.md |
| `detect_external_account` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/detect-external-account.md |
| `download_all_attachments` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/download-all-attachments.md |
| `download_attachment` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/download-attachment.md |
| `drive_addon_cancellation_preview` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/drive-addon-cancellation-preview.md |
| `drive_addon_get` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/drive-addon-get.md |
| `drive_addon_pricing` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/drive-addon-pricing.md |
| `drive_browse_folder` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/drive-browse-folder.md |
| `drive_device_list` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/drive-device-list.md |
| `drive_file_download_url` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/drive-file-download-url.md |
| `drive_file_get` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/drive-file-get.md |
| `drive_folder_tree` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/drive-folder-tree.md |
| `drive_select_all_ids` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/drive-select-all-ids.md |
| `drive_share_list` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/drive-share-list.md |
| `drive_space_usage` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/drive-space-usage.md |
| `drive_spaces_list` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/drive-spaces-list.md |
| `drive_storage_summary` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/drive-storage-summary.md |
| `drive_trash_list` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/drive-trash-list.md |
| `export_contacts` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/export-contacts.md |
| `get_account` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-account.md |
| `get_account_smtp_default` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-account-smtp-default.md |
| `get_apple_mail_profile` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-apple-mail-profile.md |
| `get_auto_reply` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-auto-reply.md |
| `get_billing_status` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-billing-status.md |
| `get_bulk_migration` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-bulk-migration.md |
| `get_dns_check` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-dns-check.md |
| `get_dns_requirements` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-dns-requirements.md |
| `get_domain` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-domain.md |
| `get_domain_alias` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-domain-alias.md |
| `get_domain_branding` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-domain-branding.md |
| `get_domain_deliverability` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-domain-deliverability.md |
| `get_domain_signature` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-domain-signature.md |
| `get_domain_smtp` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-domain-smtp.md |
| `get_domain_smtp_profile_usage` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-domain-smtp-profile-usage.md |
| `get_domain_smtp_test_status` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-domain-smtp-test-status.md |
| `get_forwarding` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-forwarding.md |
| `get_forwarding_address_log` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-forwarding-address-log.md |
| `get_mail_client_setup` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-mail-client-setup.md |
| `get_mail_rule` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-mail-rule.md |
| `get_mailbox` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-mailbox.md |
| `get_migration` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-migration.md |
| `get_raw_message` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-raw-message.md |
| `get_sieve_script` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-sieve-script.md |
| `get_smtp_config` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-smtp-config.md |
| `get_smtp_test_status` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-smtp-test-status.md |
| `get_spam_metrics` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-spam-metrics.md |
| `get_spam_summary` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-spam-summary.md |
| `get_ticket` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-ticket.md |
| `get_ticket_messages` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/get-ticket-messages.md |
| `list_aliases` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-aliases.md |
| `list_blocked_senders` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-blocked-senders.md |
| `list_bulk_migrations` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-bulk-migrations.md |
| `list_calendar_events` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-calendar-events.md |
| `list_cloudflare_tokens` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-cloudflare-tokens.md |
| `list_cloudflare_zones` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-cloudflare-zones.md |
| `list_contact_group_members` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-contact-group-members.md |
| `list_contact_groups` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-contact-groups.md |
| `list_contacts` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-contacts.md |
| `list_domain_bounces` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-domain-bounces.md |
| `list_domain_smtp_profiles` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-domain-smtp-profiles.md |
| `list_domains` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-domains.md |
| `list_external_accounts` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-external-accounts.md |
| `list_folders` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-folders.md |
| `list_forwarding_addresses` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-forwarding-addresses.md |
| `list_identities` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-identities.md |
| `list_invoices` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-invoices.md |
| `list_mail_rules` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-mail-rules.md |
| `list_mailbox_bounces` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-mailbox-bounces.md |
| `list_mailboxes` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-mailboxes.md |
| `list_message_tokens` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-message-tokens.md |
| `list_messages` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-messages.md |
| `list_migrations` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-migrations.md |
| `list_scheduled` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-scheduled.md |
| `list_shared_mailbox_members` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-shared-mailbox-members.md |
| `list_templates` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-templates.md |
| `list_tickets` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-tickets.md |
| `list_trashed_mailboxes` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/list-trashed-mailboxes.md |
| `prepare_forward` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/prepare-forward.md |
| `prepare_reply` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/prepare-reply.md |
| `prepare_reply_all` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/prepare-reply-all.md |
| `preview_bulk_migration` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/preview-bulk-migration.md |
| `preview_cloudflare_dns` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/preview-cloudflare-dns.md |
| `read_message` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/read-message.md |
| `test_migration_connection` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/test-migration-connection.md |
| `test_saved_external_account` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/test-saved-external-account.md |
| `validate_cloudflare_token` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/validate-cloudflare-token.md |
| `verify_credits` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/verify-credits.md |
| `verify_email` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/verify-email.md |
| `verify_email_bulk` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/verify-email-bulk.md |
| `verify_job_download` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/verify-job-download.md |
| `verify_job_status` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/verify-job-status.md |
| `verify_list_jobs` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/verify-list-jobs.md |
| `whoami` | Read | Low | https://policylayer.com/tools/trekmail-mcp-server/whoami.md |
| `add_contact_group_members` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/add-contact-group-members.md |
| `add_shared_mailbox_member` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/add-shared-mailbox-member.md |
| `agent_reissue_key` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/agent-reissue-key.md |
| `apply_cloudflare_dns` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/apply-cloudflare-dns.md |
| `block_sender` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/block-sender.md |
| `bulk_add_domains` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/bulk-add-domains.md |
| `bulk_create_mailboxes` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/bulk-create-mailboxes.md |
| `close_ticket` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/close-ticket.md |
| `connect_cloudflare_domains` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/connect-cloudflare-domains.md |
| `convert_mailbox_to_shared` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/convert-mailbox-to-shared.md |
| `convert_shared_mailbox_to_regular` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/convert-shared-mailbox-to-regular.md |
| `create_alias` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-alias.md |
| `create_branding_preview` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-branding-preview.md |
| `create_calendar_event` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-calendar-event.md |
| `create_contact` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-contact.md |
| `create_contact_group` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-contact-group.md |
| `create_domain` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-domain.md |
| `create_domain_smtp_profile` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-domain-smtp-profile.md |
| `create_external_account` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-external-account.md |
| `create_folder` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-folder.md |
| `create_forwarding_address` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-forwarding-address.md |
| `create_identity` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-identity.md |
| `create_invite` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-invite.md |
| `create_invites_bulk` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-invites-bulk.md |
| `create_mail_rule` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-mail-rule.md |
| `create_mailbox_generated_password` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-mailbox-generated-password.md |
| `create_message_token` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-message-token.md |
| `create_shared_mailbox` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-shared-mailbox.md |
| `create_template` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-template.md |
| `create_ticket` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/create-ticket.md |
| `drive_bulk_move` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-bulk-move.md |
| `drive_bulk_restore` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-bulk-restore.md |
| `drive_device_create` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-device-create.md |
| `drive_file_move` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-file-move.md |
| `drive_file_rename` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-file-rename.md |
| `drive_file_restore` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-file-restore.md |
| `drive_file_upload` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-file-upload.md |
| `drive_folder_create` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-folder-create.md |
| `drive_folder_move` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-folder-move.md |
| `drive_folder_restore` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-folder-restore.md |
| `drive_folder_share_with_account` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-folder-share-with-account.md |
| `drive_folder_stop_sharing` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-folder-stop-sharing.md |
| `drive_folder_update` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-folder-update.md |
| `drive_share_create` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-share-create.md |
| `drive_upload_abort` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-upload-abort.md |
| `drive_upload_complete` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-upload-complete.md |
| `drive_upload_initiate` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-upload-initiate.md |
| `drive_upload_refresh_parts` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/drive-upload-refresh-parts.md |
| `enable_imap` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/enable-imap.md |
| `import_contacts` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/import-contacts.md |
| `move_message` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/move-message.md |
| `pause_mailbox` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/pause-mailbox.md |
| `remove_shared_mailbox_member` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/remove-shared-mailbox-member.md |
| `rename_folder` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/rename-folder.md |
| `reorder_mail_rules` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/reorder-mail-rules.md |
| `reply_to_ticket` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/reply-to-ticket.md |
| `report_ham` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/report-ham.md |
| `report_spam` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/report-spam.md |
| `reschedule_message` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/reschedule-message.md |
| `restore_mailbox` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/restore-mailbox.md |
| `resume_mailbox` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/resume-mailbox.md |
| `resume_mailbox_login` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/resume-mailbox-login.md |
| `save_draft` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/save-draft.md |
| `schedule_message` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/schedule-message.md |
| `set_account_smtp_default` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/set-account-smtp-default.md |
| `set_auto_reply` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/set-auto-reply.md |
| `set_domain_alias` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/set-domain-alias.md |
| `set_domain_brand_logo` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/set-domain-brand-logo.md |
| `set_domain_branding` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/set-domain-branding.md |
| `set_domain_mail_hosting` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/set-domain-mail-hosting.md |
| `set_domain_smtp` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/set-domain-smtp.md |
| `set_forwarding` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/set-forwarding.md |
| `set_mailboxes_drive_access` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/set-mailboxes-drive-access.md |
| `set_mailboxes_login_access` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/set-mailboxes-login-access.md |
| `set_reply_from_policy` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/set-reply-from-policy.md |
| `update_alias` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-alias.md |
| `update_bulk_migration_job_password` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-bulk-migration-job-password.md |
| `update_calendar_event` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-calendar-event.md |
| `update_contact` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-contact.md |
| `update_contact_group` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-contact-group.md |
| `update_domain_catch_all` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-domain-catch-all.md |
| `update_domain_note` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-domain-note.md |
| `update_domain_signature` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-domain-signature.md |
| `update_domain_smtp_profile` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-domain-smtp-profile.md |
| `update_draft` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-draft.md |
| `update_external_account` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-external-account.md |
| `update_forwarding_address` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-forwarding-address.md |
| `update_identity` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-identity.md |
| `update_mail_rule` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-mail-rule.md |
| `update_mailbox` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-mailbox.md |
| `update_mailbox_note` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-mailbox-note.md |
| `update_message_flags` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-message-flags.md |
| `update_shared_mailbox_member` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-shared-mailbox-member.md |
| `update_template` | Write | Medium | https://policylayer.com/tools/trekmail-mcp-server/update-template.md |

## Tool descriptions

- `bulk_action` — Perform an action on up to 50 messages at once. Actions: read, unread, star, unstar, delete, move, spam, notspam. The
- `cancel_bulk_migration` — Cancel an active bulk migration batch. All queued and running jobs will be stopped. Set confirm_cancel=true to proceed.
- `cancel_migration` — Cancel a running email migration. Set confirm_cancel=true to proceed.
- `cancel_scheduled` — Cancel a pending scheduled message. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `change_mailbox_password` — Change the password of a mailbox. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true because password changes are irreversible.
- `confirm_delete_intent` — Confirm a delete intent to delete a mailbox. This is step 2 of the two-step deletion process. The mailbox is moved to the recycle bin and can be restored within the retention window (default 7 days) with restore_mailbox; after that windo…
- `create_delete_intent` — Create a delete intent for a mailbox. This is step 1 of the two-step deletion process. Returns an intent that expires in 10 minutes. The intent must be confirmed with confirm_delete_intent to proceed.
- `delete_alias` — Permanently remove an email alias from a mailbox. Mail sent to this address will no longer be delivered. This cannot be undone.
- `delete_bulk_migration` — Delete a completed, failed, or cancelled bulk migration batch record. Cannot delete active batches. Both TREKMAIL_ALLOW_MIGRATION=true and confirm_delete=true are required.
- `delete_calendar_event` — Delete a calendar event. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `delete_cloudflare_token` — Delete a saved Cloudflare token and disconnect all domains using it. Domains remain in TrekMail but lose their Cloudflare connection.
- `delete_contact` — Delete a contact. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `delete_contact_group` — Delete a contact group. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `delete_domain` — Permanently delete a domain and all its mailboxes. This action is irreversible. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `delete_domain_smtp_profile` — Delete a saved SMTP profile. Domains using it are reassigned automatically (to managed SMTP on paid plans, otherwise not_configured). Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `delete_external_account` — Disconnect (remove) an external account. Nothing is deleted on the provider side. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `delete_folder` — Delete a leaf IMAP folder and all messages it contains. A folder with child folders is rejected; delete its children explicitly first. Special folders cannot be deleted. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `delete_forwarding_address` — Delete a forwarding address. Mail sent to it bounces from then on — pause it instead to stop delivery temporarily.
- `delete_identity` — Delete a Send As identity. Managed mailbox/alias identities cannot be deleted here. Pass external_account_id for a connected-inbox identity. Requires scope: messages:write and TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `delete_mail_rule` — Delete a mail filter. This is irreversible. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `delete_message` — Permanently delete a message by IMAP UID. This marks the message as \\Deleted and expunges it. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `delete_migration` — Delete a completed, failed, or cancelled migration record. Cannot delete running migrations. Both TREKMAIL_ALLOW_MIGRATION=true and confirm_delete=true are required.
- `delete_smtp_connection` — Delete a custom SMTP connection. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `delete_template` — Delete an email template. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `drive_bulk_purge` — DESTRUCTIVE. Hard-delete N TRASHED items. Items not currently in trash are silently skipped. Requires drive:*:purge scope AND TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `drive_bulk_trash` — Soft-delete N items in one call. Caps at 5000 items per request.
- `drive_device_revoke` — Permanently revoke a Drive sync-device password. The sync client using it will lose access on its next request (no grace). Idempotent: revoking an already-revoked row is a no-op. Cannot be undone — to give the same client access again, c…
- `drive_file_purge` — DESTRUCTIVE. Permanently delete a TRASHED file. Bypasses the trash safety net. Requires drive:*:purge scope AND TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `drive_file_trash` — Soft-delete: file moves to trash and active share-links are revoked.
- `drive_folder_purge` — DESTRUCTIVE. Hard-delete a TRASHED folder + its entire subtree. B2 cleanup runs async. Requires drive:*:purge scope AND TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `drive_folder_trash` — Soft-delete folder + entire subtree (cascade). Active share-links on contained files are revoked.
- `drive_share_revoke` — Revoke a share-link by id. Idempotent — second call no-ops.
- `drive_trash_empty` — DESTRUCTIVE. Permanently delete every trashed file + folder in the space. Requires drive:*:purge scope AND TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `empty_folder` — Delete all messages in Trash or Junk folder. Only these two folders can be emptied. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `remove_contact_group_members` — Remove one or more contacts from a group.
- `remove_domain_alias` — Stop this domain from using the same address names as its primary domain. Existing mailboxes, aliases and forwarding rules stay in place, but other unmatched addresses on this domain may stop receiving mail.
- `remove_domain_brand_logo` — Remove a brand asset (slot=light/dark/favicon) from a domain
- `remove_domain_branding` — Turn off White Label branding. scope=domain (default) turns it off for this domain only; scope=all turns it off for EVERY domain in the account — branded URLs stop serving. Saved brand assets are kept as drafts and can be re-enabled late…
- `revoke_message_token` — Revoke a message API token. The token will no longer be usable for message operations. This action cannot be undone.
- `unblock_sender` — Remove a sender from the blocked list. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `verify_cancel_job` — Cancel a running verification job. Unprocessed credits are automatically refunded.
- `verify_delete_job` — Permanently delete a verification job and all its results. Cannot be undone. Job must be completed or cancelled first.
- `dns_recheck` — Trigger an asynchronous DNS verification check for a domain. Returns a check ID that can be polled with get_dns_check.
- `drive_device_rotate` — Atomic credential rotation: revoke the old row and mint a new one inheriting label, scopes, and mailbox binding. The new plaintext password is returned in data.password (one-time). The old password stops working immediately. Optional exp…
- `resume_bulk_migration` — Resume a paused bulk migration batch (e.g., paused due to storage limits). Set confirm_resume=true to proceed.
- `retry_bulk_migration` — Retry all failed jobs in a bulk migration batch. Requires TREKMAIL_ALLOW_MIGRATION=true and confirm_retry=true.
- `retry_domain_dkim` — Restart DKIM key provisioning for a domain. Use this if DKIM provisioning failed or needs to be regenerated.
- `retry_migration` — Retry a failed or cancelled email migration. Set confirm_retry=true to proceed.
- `send_message` — Send an email from the mailbox. Requires a message token with messages:send scope. Both TREKMAIL_ALLOW_SENDING=true and confirm_send=true are required as safety gates. The message is queued for delivery and a message_id is returned immed…
- `start_bulk_migration` — Start a bulk migration batch. IMPORTANT: Run preview_bulk_migration first to validate your data. Creates one migration job per valid row. Requires TREKMAIL_ALLOW_MIGRATION=true and confirm_start=true.
- `start_migration` — Start migrating emails from a source IMAP server to a TrekMail mailbox. This is a long-running operation. Both TREKMAIL_ALLOW_MIGRATION=true and confirm_start=true are required.
- `suspend_mailbox_login` — Stop someone signing in while their mail keeps arriving: webmail, IMAP, SMTP, device passwords and reset links are all refused and open sessions end, but delivery is untouched and nothing bounces. Use for a client who has not paid; pause…
- `test_domain_smtp` — Test a domain
- `test_external_account` — Test IMAP+SMTP credentials without saving. Makes an outbound connection. Requires TREKMAIL_ALLOW_MIGRATION=true.
- `test_smtp` — Test an SMTP connection with the provided credentials. Returns a job_id to poll for results.
- `update_smtp_config` — Update the SMTP configuration. Switch between platform and custom SMTP, or update custom SMTP settings. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `upload_sieve_script` — Upload and activate a custom Sieve script for a mailbox. This replaces any visual filters. The server validates syntax before activating. Agency plan only. Dangerous extensions (vnd.dovecot.pipe, vnd.dovecot.execute, vnd.dovecot.filter) …
- `verify_domain_branding_dns` — Queue a DNS check + SSL provisioning for this domain
- `agent_buy_verifier_credits` — Top up email-verification credits by paying with a shared payment token. Call once without
- `agent_subscribe_drive_addon` — Start a Drive storage add-on subscription with a Stripe PaymentMethod. Sold on its own — no
- `agent_subscribe_mail_plan` — Start a mail-plan subscription using a Stripe PaymentMethod (NOT a shared payment token —
- `agent_subscribe_white_label` — Start a White Label subscription with a Stripe PaymentMethod. Its own subscription; no mail
- `detect_external_account` — Given an email address, return the provider preset (IMAP/SMTP host/port, app-password requirement) for connecting it.
- `download_all_attachments` — Download all attachments from a message as a base64-encoded ZIP file. Warning: may produce very long responses for messages with large attachments (up to 25 MB total).
- `download_attachment` — Download a single attachment from a message by its index. Returns base64-encoded content. Warning: large attachments (up to 25 MB) may produce very long responses.
- `drive_addon_cancellation_preview` — What happens if the user cancels the add-on now: addon size vs plan quota, over-quota delta, sample of largest at-risk files, 7-day grace note. Read-only.
- `drive_addon_get` — Current Drive Storage Add-on state: active flag, in_grace, size_gb, period end, hard-delete date if cancelled.
- `drive_addon_pricing` — Pricing snap-points (250GB → 100TB) with monthly + yearly amounts in the requested currency. Default currency comes from the account
- `drive_browse_folder` — List folders + files in one Drive folder (or root when folder_id is omitted). Cursor-paginated with an opaque next_cursor; default per_page=50, max 200. If the response has has_more=true, request the next page with the returned next_curs…
- `drive_device_list` — List active and revoked Drive sync-device passwords for the account. Returns id, label, scopes, mailbox binding, created_via (dashboard/webmail/api), created_at, last_used_at, expires_at, revoked_at, is_active. Never returns the plaintex…
- `drive_file_download_url` — Returns a short-lived presigned URL (default ~5min) you can fetch directly to download the file bytes. URL forces attachment disposition. Does NOT stream bytes through MCP.
- `drive_file_get` — File metadata: name, size, mime, status, scan status, has_active_share_link.
- `drive_folder_tree` — Flat list of every folder in the space (id + name + parent_id + color). Useful for building a
- `drive_select_all_ids` — Returns every file_id and folder_id directly inside the named folder (root when folder_id omitted). Capped at 5000 items — paginate via drive_browse_folder for larger folders.
- `drive_share_list` — All share-links for a file (active + revoked). Raw tokens are NEVER included — use create
- `drive_space_usage` — Per-space quota snapshot. Same numbers as storage_summary but tagged to the resolved space.
- `drive_spaces_list` — List Drive spaces this token can enumerate. Returns up to two kinds:
- `drive_storage_summary` — Account-wide pool snapshot: used_bytes, limit_bytes, addon size, addon active/grace flags. Useful before initiating a large upload.
- `drive_trash_list` — Soft-deleted files + folders in the space, newest-first. Cursor-paginated by deleted_at; default per_page=50.
- `export_contacts` — Export all contacts as base64-encoded CSV or VCF.
- `get_account` — Get account information including current plan, resource limits, feature flags, and usage counts.
- `get_account_smtp_default` — Get the account-wide default outbound route that new domains start on (and that
- `get_apple_mail_profile` — Generate a password-free Apple Mail .mobileconfig file for a mailbox whose incoming and outgoing mail are ready. Returns file_name, media_type, encoding=base64, and content_base64. Decode the Base64 bytes to save or deliver the file; App…
- `get_auto_reply` — Get the vacation auto-reply settings for a mailbox. Shows whether auto-reply is enabled, the subject, message body, and date range.
- `get_billing_status` — Get the current billing status including plan, subscription state, renewal/trial/cancellation dates, and provider.
- `get_bulk_migration` — Get details of a bulk migration batch including per-job status breakdown.
- `get_dns_check` — Get the status and results of a DNS verification check. Poll this after triggering dns_recheck.
- `get_dns_requirements` — Get the DNS records that need to be configured for a domain. Returns MX, SPF, DKIM, and DMARC requirements.
- `get_domain` — Get detailed information about a specific domain, including its verification status and configuration.
- `get_domain_alias` — Check whether a domain follows the addresses on a primary domain. The result clearly separates the saved connection from whether it is delivering right now, and never reveals a primary domain outside the token
- `get_domain_branding` — Read the per-domain White Label branding state: mode (off/inherit/custom), brand identity (name, colors, logo/favicon URLs, support + sender email), the dashboard/webmail hosts with provisioning status, the White Label add-on flag, and t…
- `get_domain_deliverability` — Get the outbound deliverability rollup for a domain — sent, delivered, soft/hard bounce counts, delivery rate, bounce rate, and health status (good/warning/poor). Mirrors the stats cards on the domain detail page.
- `get_domain_signature` — Get the per-domain email signature settings (mode, position, html). Returns mode=
- `get_domain_smtp` — Get the outbound SMTP route for a domain: mode (platform/profile/not_configured/inherit) and the selected profile. When mode=inherit, effective_smtp_mode shows what the account-wide default resolves to.
- `get_domain_smtp_profile_usage` — Show every domain and Send As address currently using one saved SMTP profile. Use this before editing or deleting a shared profile. Requires scope: smtp:read.
- `get_domain_smtp_test_status` — Poll the result of a domain SMTP test by job_id.
- `get_forwarding` — Get the current forwarding configuration for a mailbox. Shows whether forwarding is enabled, the target addresses, and keep-copy setting.
- `get_forwarding_address_log` — Recent deliveries for one forwarding address: when each message came in, who sent it, where it was forwarded, and the outcome — delivered, deferred, rejected by the recipient, or blocked as spam before forwarding. The window is the plan
- `get_mail_client_setup` — Get password-free IMAP and SMTP settings plus localized three-step guides for Gmail, Outlook, Apple Mail, Thunderbird, and other IMAP apps. For each delegated shared mailbox, reports durable native-access readiness, effective send_as_rea…
- `get_mail_rule` — Get a single mail filter by ID.
- `get_mailbox` — Get detailed information about a specific mailbox including its status, forwarding config, and domain.
- `get_migration` — Get detailed status of a specific email migration, including per-folder progress breakdown and polling hint.
- `get_raw_message` — Get the full RFC822 raw source of a message, including all headers. Useful for debugging delivery issues, analyzing headers, or forwarding as .eml. The API transports the source base64-encoded (raw_base64); this tool decodes it into a
- `get_sieve_script` — Get the current Sieve script for a mailbox. Returns the auto-generated script built from visual filters and auto-reply settings. Use this to inspect what is running on the server.
- `get_smtp_config` — Get the current SMTP configuration for the account, including mode (platform/custom) and connection details.
- `get_smtp_test_status` — Poll the result of an SMTP connection test by job_id.
- `get_spam_metrics` — Get daily spam protection metrics for a domain. Shows inbound emails, spam caught, spam rejected, and clean emails per day.
- `get_spam_summary` — Get a summary of spam protection for a domain. Includes total inbound, spam rate, protection status, and top triggered filter rules.
- `get_ticket` — Get detailed information about a specific support ticket, including its status and metadata.
- `get_ticket_messages` — Get all messages in a support ticket conversation, ordered chronologically.
- `list_aliases` — List all email aliases for a mailbox. Shows each alias address, receiving/sending status, and whether it
- `list_blocked_senders` — List all blocked email addresses and domains for the mailbox.
- `list_bulk_migrations` — List bulk migration batches for your account. Supports filtering by status.
- `list_calendar_events` — List calendar events within a date range with cursor pagination.
- `list_cloudflare_tokens` — List all saved Cloudflare API tokens for this account, with the number of connected domains for each.
- `list_cloudflare_zones` — List all DNS zones accessible to a Cloudflare token, matched against your TrekMail domains. Shows which domains can be set up automatically.
- `list_contact_group_members` — List the contacts that belong to a contact group, with pagination.
- `list_contact_groups` — List all contact groups for the mailbox.
- `list_contacts` — List contacts for the mailbox with optional search and pagination.
- `list_domain_bounces` — List recent per-recipient hard/soft bounces for outbound mail sent from a domain. Each result includes the SMTP status code and the receiver
- `list_domain_smtp_profiles` — List the account
- `list_domains` — List domains on the TrekMail account. Supports filtering by status and searching by name. Returns paginated results.
- `list_external_accounts` — List the mailbox
- `list_folders` — List all IMAP folders for the mailbox (or a connected external account). Returns each folder
- `list_forwarding_addresses` — List mailbox-less forwarding addresses on a domain, with each address
- `list_identities` — List valid From addresses, connected-inbox Send As identities, reply policy, eligible domains, and permitted saved SMTP profiles. Pass external_account_id to see addresses usable from that connected inbox. Requires scope: messages:read.
- `list_invoices` — List billing invoices for the account. Returns invoice details including amounts, status, and download URLs.
- `list_mail_rules` — List all mail filters for a mailbox. Filters automatically process incoming email — forward by sender/subject/content, sort into folders, flag, or discard. Pro and Agency plans only.
- `list_mailbox_bounces` — Same as list_domain_bounces but scoped to a single mailbox — useful for per-sender reputation triage. Returns per-recipient SMTP failures.
- `list_mailboxes` — List mailboxes on the TrekMail account. Supports filtering by domain and searching by address. Returns paginated results.
- `list_message_tokens` — List all message API tokens for a mailbox. Shows token prefix, name, scopes, and status. Does not reveal the full token.
- `list_messages` — List messages in a mailbox IMAP folder, sorted newest-first with cursor-based pagination. Requires a message token with messages:read scope.
- `list_migrations` — List email migration jobs for your account. Supports filtering by status and mailbox.
- `list_scheduled` — List pending scheduled messages for the mailbox with cursor pagination. Pass next_cursor from pagination to retrieve every result.
- `list_shared_mailbox_members` — List all members of a shared (team) mailbox. Shows each member
- `list_templates` — List email templates for the mailbox.
- `list_tickets` — List support tickets on the TrekMail account. Supports filtering by status and category. Returns paginated results.
- `list_trashed_mailboxes` — List mailboxes currently in the recycle bin (soft-deleted, restorable). Each is permanently purged after its retention window elapses. Use restore_mailbox to recover one.
- `prepare_forward` — Get pre-populated forward data: subject (Fwd:), forwarded body, original attachment metadata.
- `prepare_reply` — Get pre-populated reply data for a message: to, subject (Re:), quoted body, in_reply_to. Ready to pass to send or save_draft.
- `prepare_reply_all` — Get pre-populated reply-all data: to + cc (all original recipients except self), subject (Re:), quoted body.
- `preview_bulk_migration` — Validate and preview a bulk migration batch. Returns categorized results showing which rows are valid, invalid, or have warnings. Always run this before start_bulk_migration. Requires TREKMAIL_ALLOW_MIGRATION=true.
- `preview_cloudflare_dns` — Preview what DNS records will be created, merged, or replaced for connected Cloudflare domains. Run this before apply to see what will change.
- `read_message` — Get a single message by IMAP UID, including full body and attachment metadata. Requires a message token with messages:read scope.
- `test_migration_connection` — Test IMAP connection credentials for email migration. Returns folder list with message counts if successful. Requires TREKMAIL_ALLOW_MIGRATION=true.
- `test_saved_external_account` — Re-test a saved connected account
- `validate_cloudflare_token` — Check if a Cloudflare API token is valid and active. Does not verify DNS permissions — use connect to test write access.
- `verify_credits` — Check the current email verification credit balance — monthly remaining, purchased, and total available.
- `verify_email` — Verify a single email address against up to 25 checks (syntax, MX, disposable, blocklist, SPF, DMARC, gibberish detection, typo suggestion, plus-addressing, DNSBL, domain age, Gravatar, unroutable MX, etc). Returns trust score 0-100 and …
- `verify_email_bulk` — Submit a list of email addresses for bulk verification. Returns a job ID to track progress. Quick mode: 1 credit/email. Deep mode: 2 credits/email. Max 50,000 emails per job.
- `verify_job_download` — Returns the verification results as raw CSV body in the response (NOT a URL). Filters: all, safe, safe_risky. For very large jobs (>10MB) the response can be slow — consider filtering down to safe-only first.
- `verify_job_status` — Check the progress and results of a bulk email verification job. Returns status, progress percentage, summary counts, and paginated results when complete.
- `verify_list_jobs` — List all email verification jobs for this account with pagination. Optionally filter by status.
- `whoami` — Verify the current API token and return token details (name, scopes, expiry) and account info.
- `add_contact_group_members` — Add one or more contacts to a group.
- `add_shared_mailbox_member` — Add a member to a shared (team) mailbox. All members can read incoming mail in Webmail and, when enabled, through a delegated native IMAP folder under their own login. Optionally grant
- `agent_reissue_key` — Exchange your key for one scoped to the plan the account now holds. Buying entitles the
- `apply_cloudflare_dns` — Apply DNS record changes via Cloudflare API. Creates MX, SPF, DKIM, DMARC records automatically. Use preview first to see what will change.
- `block_sender` — Block an email address (e.g. spammer@evil.com) or entire domain (e.g. @evil.com). Max 50 per mailbox.
- `bulk_add_domains` — Add multiple domains at once (up to 20). Returns per-domain results with success/error status.
- `bulk_create_mailboxes` — Create multiple mailboxes at once (1-100). Each item specifies a domain and local part. password_mode=
- `close_ticket` — Close a support ticket. Cannot close an already-closed ticket.
- `connect_cloudflare_domains` — Connect one or more domains to Cloudflare. Creates new TrekMail domains if they don
- `convert_mailbox_to_shared` — Convert an existing regular mailbox into a shared (team) mailbox. The specified members are added immediately. IMPORTANT: this rotates the mailbox password and ends direct login for the original owner. The mailbox is then accessed throug…
- `convert_shared_mailbox_to_regular` — Convert a shared (team) mailbox back to a regular user mailbox. ALL existing memberships, Webmail access, and delegated native IMAP access are revoked, then direct login is re-enabled with the supplied password. A retryable
- `create_alias` — Add a new email alias to a mailbox. The alias delivers mail into the same mailbox — no separate login needed. Optionally allow sending from this alias address. Requires Starter plan or above. Use list_domains to find domain IDs.
- `create_branding_preview` — Mint a one-time trial-preview link that shows the account dashboard running under this domain
- `create_calendar_event` — Create a new calendar event.
- `create_contact` — Create a new contact or return existing if email already exists.
- `create_contact_group` — Create a new contact group (distribution list).
- `create_domain` — Add a new domain to the account. The domain will start in pending_dns status. DNS records must be configured before it becomes active. Pass mail_hosting=
- `create_domain_smtp_profile` — Create a reusable SMTP profile and apply it to this domain. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true (it stores credentials).
- `create_external_account` — Connect an external account. Server-side test-gated: broken credentials never persist. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `create_folder` — Create a new IMAP folder in the mailbox. Folder names cannot use reserved names (INBOX, Sent, Drafts, Junk, Trash, Archive, Scheduled). To create a nested subfolder, pass
- `create_forwarding_address` — Create a forwarding address on a domain: mail to it is handed straight on to the recipients and nothing is stored. No mailbox is created. Delivery requires Pro or Agency; on Nano and Starter the rule is saved and starts working after an …
- `create_identity` — Configure an existing mailbox/alias persona, or create a Send As identity. Pass external_account_id when you read that address
- `create_invite` — Create a setup invite for a mailbox. Sends an email to the recipient with a link to set their own password and complete mailbox setup. Storage defaults to the shared account pool; pass storage_allocation_mb to pre-allocate dedicated stor…
- `create_invites_bulk` — Create multiple setup invites in a single request. Each item specifies a local_part and recipient_email, and may optionally override the target domain via domain_id (otherwise the batch domain_id is used) — so one call can invite people …
- `create_mail_rule` — Create a new mail filter for a mailbox. Filters automatically process incoming email based on conditions (sender, subject, body, size) and perform actions (move to folder, forward, flag, discard, reject). Pro and Agency plans only.
- `create_mailbox_generated_password` — Create a new mailbox with an auto-generated one-time password. The password is returned once and must be saved immediately — it cannot be retrieved later. Storage defaults to the shared account pool; pass storage_allocation_mb to carve o…
- `create_message_token` — Create a message API token for a mailbox. The token grants access to read, write, or send messages for that mailbox. The plain token is returned only once.
- `create_shared_mailbox` — Create a new shared (team) mailbox. The mailbox has no direct login; members use their own regular mailbox credentials in Webmail and, when enabled, delegated native IMAP/SMTP access. All members can read and can send as the shared addre…
- `create_template` — Create a new email template.
- `create_ticket` — Create a new support ticket. Requires a subject, category, and initial message.
- `drive_bulk_move` — Re-parent N items to target_folder_id (null = root). Files use a single UPDATE; folders go one-by-one for cycle detection.
- `drive_bulk_restore` — Restore N trashed items in one call.
- `drive_device_create` — Mint a new Drive sync-device password (a
- `drive_file_move` — Move a file to a different folder (folder_id=null moves to root).
- `drive_file_rename` — Rename a file. Validation: name passes the DriveItemName ruleset.
- `drive_file_restore` — Un-trash a soft-deleted file. If parent folder is also trashed, file pops up at root.
- `drive_file_upload` — Upload a local file to Drive in one tool call. Internally chains drive_upload_initiate → direct PUT(s) to B2 → drive_upload_complete. Bytes go straight to B2 — they do NOT pass through the API server (the server is only touched at the st…
- `drive_folder_create` — Create a folder inside the space. parent_id=null creates at root. color is HEX (#RRGGBB); omitted = default slate gray. is_shared=true makes it visible to every mailbox in the account immediately (must be top-level — parent_id must be nu…
- `drive_folder_move` — Re-parent a folder. parent_id=null moves to root. Cycle detection enforced server-side.
- `drive_folder_restore` — Restore a trashed folder + everything that was deleted in the same operation.
- `drive_folder_share_with_account` — Make this folder visible to every mailbox in the account. If the folder lives in a mailbox-personal Drive, the entire subtree (folders + files) is migrated to account-drive in one transaction; quota counters move from mailbox to account.…
- `drive_folder_stop_sharing` — Flip is_shared back to false on a shared folder. Folder stays in account-drive (no migration back to a specific mailbox); other mailboxes lose visibility, the dashboard owner keeps it as a private account-drive folder. Idempotent on alre…
- `drive_folder_update` — Update name and/or color. At least one must be set; both are optional independently.
- `drive_share_create` — Mint a public share link for the file. Returns a raw token in the
- `drive_upload_abort` — Cancel an in-flight upload, release the reserved quota, and clean up B2 multipart state.
- `drive_upload_complete` — Finalise after the bytes are PUT to B2. Multipart calls must include parts:[{part_number,etag}] from each PUT response (etag stripped of B2
- `drive_upload_initiate` — Reserve quota and return presigned B2 PUT URLs. For files <100MB you get one URL; for larger files you get a multipart description (parts[]). The returned file row sits in pending_upload status until drive_upload_complete confirms B2 rec…
- `drive_upload_refresh_parts` — Re-presign expired part URLs for an in-flight multipart upload. Send the PartNumbers you still need.
- `enable_imap` — Enable IMAP access for a mailbox so message tokens can be created. Requires the current mailbox password.
- `import_contacts` — Import contacts from a base64-encoded CSV or VCF file (max 2 MB).
- `move_message` — Move a message to a different IMAP folder. Copies the message to the destination and deletes it from the source.
- `pause_mailbox` — Pause (disable) a mailbox. The mailbox will stop receiving and sending email until resumed.
- `remove_shared_mailbox_member` — Remove a member from a shared (team) mailbox, revoking both Webmail and delegated native IMAP access without deleting the member
- `rename_folder` — Rename an existing IMAP folder. Special folders (INBOX, Sent, Drafts, Junk, Trash, Archive, Scheduled) cannot be renamed.
- `reorder_mail_rules` — Change the execution order of mail filters. Filters are checked in order — first match wins.
- `reply_to_ticket` — Reply to an existing support ticket. Cannot reply to closed tickets.
- `report_ham` — Report a message as not spam (ham). Trains the anti-spam filter (Rspamd) and moves the message to INBOX. Returns whether Rspamd training succeeded.
- `report_spam` — Report a message as spam. Trains the anti-spam filter (Rspamd) and moves the message to the Junk folder. Returns whether Rspamd training succeeded.
- `reschedule_message` — Change the delivery time of a pending scheduled message without re-sending. Use this instead of cancel + schedule when the user only wants to move the send time — it does not consume a messages:send rate-limit slot.
- `restore_mailbox` — Restore a mailbox from the recycle bin back to active. Use list_trashed_mailboxes to find trashed mailbox IDs. Fails (422) if the domain is now at its mailbox limit.
- `resume_mailbox` — Resume a paused (disabled) mailbox. The mailbox will start receiving and sending email again.
- `resume_mailbox_login` — Lift a sign-in suspension so the user can sign in again. Device passwords that the suspension revoked are not restored — the user creates new ones from webmail.
- `save_draft` — Save a new draft to the IMAP Drafts folder. Accepts structured JSON with to, cc, bcc, subject, body (text/html), and optional base64 attachments. Returns the new draft
- `schedule_message` — Schedule an email to be sent at a future date/time. Requires TREKMAIL_ALLOW_SENDING=true and confirm_send=true.
- `set_account_smtp_default` — Set the account-wide default route that new domains start on:
- `set_auto_reply` — Configure the vacation auto-reply for a mailbox. Set a custom subject, message body, optional date range, and whether to skip mailing lists. Each sender receives the reply at most once every 7 days. Starter, Pro, and Agency plans.
- `set_domain_alias` — Make addresses on this domain receive mail at the same local part on a primary domain. For example, hello@brand.example follows hello@company.example. This is receive-only and does not add a sending address.
- `set_domain_brand_logo` — Upload a brand asset for a domain, base64-encoded. slot=light is the logo for light backgrounds, slot=dark for dark backgrounds, slot=favicon is the browser-tab icon. content_base64 is the raw image bytes base64-encoded — PNG or JPG (fav…
- `set_domain_branding` — Configure White Label branding for a domain. PARTIAL update — only the fields you pass change; omit a field to leave it unchanged. mode=custom uses a domain-specific brand, mode=inherit uses the account default, mode=off disables brandin…
- `set_domain_mail_hosting` — Choose whether TrekMail hosts this domain
- `set_domain_smtp` — Set how a domain sends outbound mail:
- `set_forwarding` — Configure email forwarding for a mailbox. Set targets, enable/disable forwarding, and choose whether to keep a copy in the original mailbox.
- `set_mailboxes_drive_access` — Set the Drive access level on many mailboxes at once. Choose the mailboxes with exactly ONE of: mailbox_ids (an explicit list), domain_id (every mailbox on that domain — the usual choice for a reseller applying a rule to one client), or …
- `set_mailboxes_login_access` — Suspend or restore sign-in across many mailboxes; delivery is unaffected either way. Choose exactly ONE of: mailbox_ids, domain_id (every mailbox on that domain — the usual choice for one client), or all. Shared, paused and trashed mailb…
- `set_reply_from_policy` — Choose whether replies use the address that received the message or always use the mailbox default. Requires scope: messages:write.
- `update_alias` — Update an alias — toggle receiving, sending, or active/inactive status. Cannot change the alias address itself — delete and recreate instead.
- `update_bulk_migration_job_password` — Update the source IMAP password for a failed job in a bulk migration batch. Only works on jobs with
- `update_calendar_event` — Update an existing calendar event.
- `update_contact` — Update an existing contact
- `update_contact_group` — Rename a contact group.
- `update_domain_catch_all` — Configure catch-all email forwarding for a domain. Unmatched emails will be forwarded to the destination. Internal targets (mailboxes on the same domain) work on all plans. External targets require Pro or Agency plan.
- `update_domain_note` — Update the note/description on a domain (max 120 characters). Pass null to clear.
- `update_domain_signature` — Set the per-domain email signature. mode=off disables; mode=default seeds newly-created mailbox identities; mode=enforced overrides per-mailbox signatures on the webmail compose path. signature_html accepts safe HTML (up to 10000 chars);…
- `update_domain_smtp_profile` — Update a saved SMTP profile (affects every domain using it). Omit password to keep the current one. Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `update_draft` — Update an existing draft by its IMAP uid and uidvalidity. Deletes the old draft only within that exact folder epoch and appends a replacement, so the response returns a NEW uid and uidvalidity pair.
- `update_external_account` — Update a connected account (label/color/unified toggle, or new credentials/host — a connection change is re-tested). Requires TREKMAIL_ALLOW_DESTRUCTIVE=true.
- `update_forwarding_address` — Replace the recipients of a forwarding address, pause it, or resume it. Pausing keeps the configuration and bounces mail meanwhile.
- `update_identity` — Update name, reply-to, signature, default status, or SMTP route. When updating a connected-inbox Send As identity, pass its external_account_id so the API can enforce the exact source binding. Requires scope: messages:write.
- `update_mail_rule` — Update an existing mail filter. Pro and Agency plans only.
- `update_mailbox` — Update write-safe mailbox fields. display_name applies to regular and shared mailboxes. conversation_view controls webmail thread grouping for a regular mailbox and takes effect after page reload; shared mailboxes use the regular member …
- `update_mailbox_note` — Update the note/description on a mailbox (max 120 characters). Pass null to clear.
- `update_message_flags` — Update flags (read/unread, starred/unstarred) on a message by IMAP UID. Requires a message token with messages:write scope.
- `update_shared_mailbox_member` — Update a shared mailbox member
- `update_template` — Update an existing email template.

## Related servers

- UnClick (1662 tools) — https://policylayer.com/tools/io-github-malamutemayhem-unclick-mcp-server.md
- Delx Protocol — Agent Recovery & Continuity (1076 tools) — https://policylayer.com/tools/io-github-davidmosiah-delx-protocol.md
- Delx Mcp A2a (1068 tools) — https://policylayer.com/tools/io-github-davidmosiah-delx-mcp-a2a.md
- Nodebench (824 tools) — https://policylayer.com/tools/io-github-homenshum-nodebench.md
- MCP Framework Personal (811 tools) — https://policylayer.com/tools/inggerman-mcps.md
- Delx MCP Server (740 tools) — https://policylayer.com/tools/io-github-davidmosiah-delx-mcp-server.md
- Binance MCP Server (734 tools) — https://policylayer.com/tools/nirholas-binance-mcp.md
- Eda Agent (726 tools) — https://policylayer.com/tools/eda-agent.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=trekmail-mcp-server · API: https://policylayer.com/registry/api · Recommended policies for every tool: https://policylayer.com/policies/trekmail-mcp-server
