Skip to main content
Glama

JMAP MCP Server

by jahfer

search_emails

Search and filter emails within a specific mailbox using criteria like date range, keywords, attachments, sender, recipient, subject, and body content. Retrieve relevant email threads efficiently with customizable limits.

Input Schema

NameRequiredDescriptionDefault
inputSchemaYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "inputSchema": { "additionalProperties": false, "properties": { "excludeMailboxIds": { "description": "Mailboxes to exclude.", "items": { "type": "string" }, "type": "array" }, "hasAttachment": { "description": "Only emails with/without attachments.", "type": "boolean" }, "hasKeyword": { "description": "Only emails with this keyword.", "type": "string" }, "limit": { "default": 15, "description": "Max number of threads/emails to return.", "type": "number" }, "mailboxId": { "description": "The mailbox to search in.", "type": "string" }, "notKeyword": { "description": "Only emails without this keyword.", "type": "string" }, "receivedAfter": { "description": "Only emails received after this date (ISO 8601).", "format": "date-time", "type": "string" }, "receivedBefore": { "description": "Only emails received before this date (ISO 8601).", "format": "date-time", "type": "string" }, "searchBcc": { "description": "Filter by recipient (Bcc).", "type": "string" }, "searchBody": { "description": "Filter by body content.", "type": "string" }, "searchCc": { "description": "Filter by recipient (Cc).", "type": "string" }, "searchFrom": { "description": "Filter by sender.", "type": "string" }, "searchSubject": { "description": "Filter by subject.", "type": "string" }, "searchText": { "description": "Full-text search.", "type": "string" }, "searchTo": { "description": "Filter by recipient (To).", "type": "string" } }, "required": [ "mailboxId" ], "type": "object" } }, "required": [ "inputSchema" ], "type": "object" }

Other Tools from JMAP MCP Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jahfer/jmap-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server