PrivateEmail MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PRIVATEEMAIL_ADDRESS | Yes | Full mailbox address | |
| PRIVATEEMAIL_PASSWORD | Yes | Mailbox password | |
| PRIVATEEMAIL_IMAP_HOST | No | IMAP server host | mail.privateemail.com |
| PRIVATEEMAIL_IMAP_PORT | No | IMAP server port | 993 |
| PRIVATEEMAIL_SMTP_HOST | No | SMTP server host | mail.privateemail.com |
| PRIVATEEMAIL_SMTP_PORT | No | SMTP server port | 465 |
| PRIVATEEMAIL_DISPLAY_NAME | Yes | Display name used for outbound mail | |
| PRIVATEEMAIL_MAX_ATTACHMENT_BYTES | No | Maximum attachment payload returned by the server | 10485760 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| health_checkA | Test IMAP and SMTP connectivity to mail.privateemail.com. |
| account_infoA | Show configured mailbox address and server endpoints. |
| list_foldersA | List IMAP folders in the PrivateEmail mailbox. |
| list_emailsB | List recent email summaries in a folder. |
| search_emailsA | Search emails with IMAP criteria. Dates are YYYY-MM-DD. |
| get_emailA | Fetch full email by UID including text/html and attachment metadata. |
| get_threadB | Fetch a conversation thread related to the given message UID. |
| download_attachmentA | Download an attachment by part_index from get_email. |
| send_emailA | Send an email via PrivateEmail SMTP. Prefer reply_email for threaded replies. |
| reply_emailA | Reply to an email by UID. Sets In-Reply-To and References for threading. |
| forward_emailB | Forward an email by UID to a new recipient. |
| save_draftA | Save a draft into the Drafts IMAP folder. |
| list_draftsC | List messages in the Drafts folder. |
| send_draftB | Send a draft by UID from Drafts, then move it to Trash. |
| move_emailB | Move an email to another folder. |
| copy_emailB | Copy an email to another folder. |
| delete_emailA | Delete an email (moves to Trash unless expunge=True or already in Trash). |
| mark_emailA | Mark email read/unread and/or flagged/unflagged. |
| create_folderA | Create an IMAP folder. |
| rename_folderA | Rename an IMAP folder. |
| delete_folderB | Delete an IMAP folder. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| summarize_inbox | Summarize recent INBOX mail and flag what needs action. |
| draft_reply | Draft a reply to a specific message (does not send). |
| compose_email | Help compose a new outbound email (does not send). |
| triage_unread | Triage unread mail: archive, reply, or follow-up. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| resource_account | Configured PrivateEmail account metadata. |
| resource_folders | IMAP folder tree. |
| resource_inbox_recent | Newest 15 messages in INBOX (summaries). |
| resource_inbox_unread | Unread messages in INBOX (up to 25 summaries). |
TDQS
Scored across 21 tools
Each tool targets a distinct operation: listing, searching, reading, sending, replying, forwarding, managing drafts, moving, copying, deleting, marking, and folder CRUD. No two tools appear to do the same thing, and descriptions clearly differentiate them.
All tools follow a consistent verb_noun pattern (e.g., list_emails, send_email, create_folder). The only slight deviation is health_check and account_info, but they still clearly convey their purpose and do not break the overall pattern.
21 tools is appropriate for an email server. It covers essential operations (read, send, reply, forward, manage drafts, move, copy, delete, mark, search) plus folder management and diagnostics, without being excessive.
The tool set covers the core email lifecycle: list, get, search, send, reply, forward, drafts, folder management. Minor gaps exist, such as no explicit tool to send an email with attachments or to list attachments independently, but these are possible through existing tools (send_email may support attachments, and get_email provides attachment metadata).