Skip to main content
Glama
sweetrb

apple-mail-mcp

by sweetrb

get-unread-count

Retrieve the number of unread emails in a selected account or mailbox without fetching message details.

Instructions

Use when: you only need the number of unread messages (optionally scoped to one mailbox and/or account), without listing the messages themselves. Returns: the unread count for the requested scope. Do not use when: you need the actual unread messages and their ids (use list-messages with unreadOnly, or search-messages with isRead=false) or broader totals (use get-mail-stats).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoAccount to check
mailboxNoMailbox to check (default: all)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
unreadNo
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/sweetrb/apple-mail-mcp'

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