Skip to main content
Glama
leeguooooo
by leeguooooo

search_emails

Search emails across multiple accounts using criteria like date, sender, subject, attachments, or unread status to find specific messages quickly.

Instructions

Search emails with various criteria across all accounts or specific account. Returned UIDs must be used with the same account; specify account_id for precise targeting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoSearch query text
search_inNoWhere to search (default: 'all')all
date_fromNoStart date (YYYY-MM-DD format)
date_toNoEnd date (YYYY-MM-DD format)
folderNoFolder to search in (default: 'all' for all folders)all
unread_onlyNoOnly search unread emails
has_attachmentsNoFilter by attachment presence
limitNoMaximum results (default: 50)
offsetNoNumber of results to skip for pagination (default: 0)
account_idNoSearch specific account only

Latest Blog Posts

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/leeguooooo/email-mcp-service'

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