Permanently delete a Gmail account and erase its stored tokens. Provide the email/alias; if the active account is removed, the first remaining account becomes active.
Enables comprehensive Gmail management including sending, reading, and organizing emails, managing labels, drafts, threads, and configuring account settings through the Gmail API with secure OAuth2 authentication.
Count Gmail messages matching a query without fetching content—use it as a blast-radius check before bulk actions. With all_accounts, get a per-account breakdown and total across authorized accounts.
Run a Gmail search across every authorized account at once, tagging each result with its account. Consolidate multi-account email search into one query.
Discover which Gmail accounts are configured for use. Shows account names, cached email, granted scope, and default status—essential first step before running Gmail searches or message reads.
Get configured Apple Mail account names (e.g., iCloud, Gmail) to pass exact names to other tools. Returns account list and count, or an error when Mail is inaccessible.