Skip to main content
Glama

mail_get_email

Retrieve specific emails from Mail.app on macOS using search criteria like subject, sender, date, or mailbox. Includes option to fetch email body if needed.

Instructions

[Mail operations] Get a specific email by search criteria from Mail.app

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoName of the account to search in (e.g., 'iCloud', 'Gmail', 'Exchange'). If not specified, searches all accounts with preference for iCloud.iCloud
dateReceivedNoDate received to search for (format: YYYY-MM-DD)
includeBodyNoInclude email body in the result if true
mailboxNoName of the mailbox to search in (e.g., 'Inbox', 'Sent')Inbox
senderNoSender email or name to search for (partial match)
subjectNoSubject text to search for (partial match)
unreadOnlyNoOnly search unread emails if true

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/joshrutkowski/applescript-mcp'

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