GhostPaw Email
v0.5.11Email tools with a local SQLite cache and IMAP/SMTP account configuration.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mail_read
Read mailbox state: folder list, message queue, thread view, single message body, attachment metadata, or raw EML export. Use when: Inspect folders, cached messages, threads, attachments or raw message content. Not for: Use mail_search to find messages by query or mail_organize to change them.
| Parameter | Type | Description |
|---|---|---|
view * | string | What to read. |
folder | string | Folder path (required for queue/message/attachment/eml). |
limit | integer | Maximum messages to return (queue view). |
partPath | string | Part path for a specific attachment (optional for attachment view). |
refresh | boolean | Fetch live folder list from server before returning (folders/queue view). |
threadId | string | Thread ID (required for thread view). |
uid | integer | Message UID (required for message/attachment/eml). |
unreadOnly | boolean | Filter to unread messages only (queue view). |
mail_search
Search for messages locally via FTS or remotely via IMAP SEARCH. Returns matching message references. Use when: Find messages by a local full-text query or a remote IMAP search. Not for: Use mail_read when the folder and message UID are already known.
| Parameter | Type | Description |
|---|---|---|
query * | string | Free-text search query or FTS5 expression. |
before | string | ISO date string — only messages before this date. |
folder | string | Restrict search to a specific folder. |
hasAttachments | boolean | Filter to messages with attachments. |
limit | integer | Maximum number of results. |
mode | string | local (default) or remote IMAP SEARCH. |
since | string | ISO date string — only messages after this date. |
unreadOnly | boolean | Filter to unread messages. |
mail_compose
Compose and send email: send new message, reply, forward, save/update/send a draft. Use when: Send, reply, forward, or save and manage a draft after its content is agreed. Not for: Use mail_read to inspect an existing message without sending or saving content.
mail_organize
Organize messages: mark read/unread/starred/answered, copy, move, archive, trash, junk, label, or manage folders. Use when: Change message flags, labels, destinations or folder organization. Not for: Use mail_read or mail_search when only inspection is requested.
mail_sync
Manage the IMAP connection lifecycle and sync local state: connect, disconnect, reconnect, sync folders, or refresh the folder list. Use when: Connect, disconnect, reconnect, refresh folders or synchronize the cache. Not for: Use mail_read for cached content or the network watch stream for continuous monitoring.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
bodies | string | Body fetch strategy for sync (default: missing). |
folders | array | Folders to sync or watch (optional — defaults to all subscribed folders). |