Skip to main content
Glama

get_todays_emails

Retrieve all emails received today from a specified mailbox, sorted by date with newest first, using environment variables for default account and mailbox settings.

Instructions

Get all emails received today from a mailbox.

Args: account: Account name. Uses JXA_MAIL_DEFAULT_ACCOUNT env var or first account if not specified. mailbox: Mailbox name. Uses JXA_MAIL_DEFAULT_MAILBOX env var or "Inbox" if not specified.

Returns: List of today's emails sorted by date (newest first).

Example: >>> get_todays_emails("Work") [{"subject": "Urgent: Review needed", "sender": "team@work.com", ...}]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNo
mailboxNo

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/imdinu/jxa-mail-mcp'

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