MCPVault

delete_emails

MCP tool from Jmap MCP by wyattjoh

Delete emails permanently (cannot be undone). Prefer moving to Trash via

How to use it

delete_emails is exposed by the Jmap MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the delete_emails tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

FULL JMAP MCP LISTING

Other tools in Jmap MCP (39)

after

(optional): Only emails after date (ISO 8601 datetime)

allInThreadHaveKeyword

(optional): All emails in thread must have keyword

bcc

(optional): Array of BCC recipients

before

(optional): Only emails before date (ISO 8601 datetime)

body

(optional): Search in message body only

cc

(optional): Array of CC recipients

fetchEmails

(optional): Auto-fetch full email details for changed IDs

flagged

(optional): Mark as flagged (true) or unflagged (false)

from

(optional): Filter by sender email address

get_email_changes

Get IDs of emails created, updated, or destroyed since a previous state. Use the

get_emails

Retrieve specific emails by their IDs. Use properties to request only what you

get_mailboxes

List mailboxes/folders with their IDs, names, and metadata. Call this first

get_search_updates

Get changes within a previous search query since its queryState. Must use the

get_threads

Get email threads by their IDs. Thread IDs come from getemails responses

hasKeyword

(optional): Filter by keyword (e.g., $seen, $flagged)

htmlBody

(optional): HTML body

identityId

(optional): JMAP identity ID to send from (uses server default if

ids

Array of email IDs (1-50 IDs)

inMailbox

(optional): Mailbox ID to search within (get from getmailboxes)

limit

(optional): Max results (1-200, default: 100)

mailboxId

Target mailbox ID (get from getmailboxes)

mark_emails

Mark emails as read/unread or flagged/unflagged.

maxChanges

(optional): Max changes to return (1-500)

move_emails

Move emails to a different mailbox. Use getmailboxes to find the target

notKeyword

(optional): Exclude by keyword (e.g., $seen, $draft)

parentId

(optional): Filter by parent mailbox ID

position

(optional): Starting position for pagination

properties

(optional): Specific properties to return. Recommended sets:

query

(optional): Text search across all fields

reply_to_email

Reply to an existing email. Automatically sets To/CC, Re: subject prefix, and

search_emails

Search emails with filters. All filters are AND'd together. Returns only

seen

(optional): Mark as read (true) or unread (false)

send_email

Send a new email. Requires either textBody or htmlBody (or both).

sinceQueryState

queryState from a previous searchemails response

sinceState

State string from a previous getemails response

someInThreadHaveKeyword

(optional): At least one email in thread must have

subject

(optional): Filter by subject text

textBody

(optional): Plain text body

to

(optional): Filter by recipient email address