Skip to main content
Glama
pjosols
by pjosols

mail_manage_email_labels

Add or remove labels and flags from emails in Fastmail accounts to organize and categorize messages for better email management.

Instructions

Add or remove keywords/labels on one or more emails.

Supports standard flags ($seen, $flagged, $draft, $answered) and custom keywords. At least one of add or remove must be provided.

Args: email_ids: List of JMAP email IDs to update. add: Keywords to add (e.g. ["$flagged", "myLabel"]). remove: Keywords to remove (e.g. ["$seen"]).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
email_idsYes
addNo
removeNo

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/pjosols/pyfastmail-mcp'

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