Skip to main content
Glama

fetch-emails

Retrieve emails from your inbox using filters for date range, sender addresses, subject keywords, and specific mailboxes to find relevant messages quickly.

Instructions

Get emails from the user's inbox. Can specify the mailbox (INBOX by default), a subject (string), date range (ISO format: YYYY-MM-DDTHH:mm:ss), and sender emails (list of strings) to filter emails.

Input Schema

NameRequiredDescriptionDefault
dateRangeYesDate range is a dictionary with the keys "start" and "end". Must be provided on date time ISO string format.
mailboxNoMailbox to fetch emails fromINBOX
sendersNoOptional array of email addresses to filter emails by sender
subjectNoOptional subject to filter emails by subject or sender. Only sent if user provides a subject to search EXPLICITLY!

Input Schema (JSON Schema)

{ "properties": { "dateRange": { "additionalProperties": false, "description": "Date range is a dictionary with the keys \"start\" and \"end\". Must be provided on date time ISO string format.", "properties": { "end": { "description": "End date of the range", "type": "string" }, "start": { "description": "Start date of the range", "type": "string" } }, "type": "object" }, "mailbox": { "default": "INBOX", "description": "Mailbox to fetch emails from", "type": "string" }, "senders": { "description": "Optional array of email addresses to filter emails by sender", "items": { "type": "string" }, "type": "array" }, "subject": { "description": "Optional subject to filter emails by subject or sender. Only sent if user provides a subject to search EXPLICITLY!", "type": "string" } }, "required": [ "dateRange" ], "type": "object" }

Other Tools

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/Karopatu/email-management-mcp'

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