Skip to main content
Glama
leeguooooo
by leeguooooo

batch_delete_emails

Delete multiple emails at once by moving them to trash or permanently removing them from your email account. Specify email IDs, choose permanent deletion or trash folder, and optionally run a dry-run validation first.

Instructions

Delete multiple emails (move to trash or permanently delete)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
email_idsYesList of email IDs to delete
folderNoSource folder (default: 'INBOX')INBOX
permanentNoPermanently delete instead of moving to trash
trash_folderNoTrash folder name (default: 'Trash')Trash
account_idNoSpecific account ID (recommended)
dry_runNoIf true, only validate without executing (default: false)

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/leeguooooo/email-mcp-service'

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