Skip to main content
Glama
adamzaidi

icloud-mcp

by adamzaidi

update_digest_state

Updates email digest state by merging processed UIDs, tracking pending actions, and accumulating sender skip counts for automated inbox management.

Instructions

Update the digest state after a run. Merges new processed UIDs into the existing list, updates lastRun, replaces pendingActions, and accumulates per-sender skip counts.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lastRunNoISO timestamp of this run
processedUidsNoEmail UIDs processed in this run — merged with existing and capped at 5000
pendingActionsNoFull replacement list of pending action items to track across runs (deadlines, waiting-for-reply, etc.). Each item: { type, subject, to/from, dueDate?, notes? }
skipCountsNoMap of sender address to skip count increment for this run, e.g. { "bestbuy@email.bestbuy.com": 3 }. Accumulated across runs for smart unsubscribe.

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/adamzaidi/icloud-mcp'

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