-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Summary
Add a tool to create new mailboxes (folders) in Apple Mail.
Motivation
Users can't organize emails into new folders without this. Currently they must manually create folders in Apple Mail.
Proposed API
@mcp.tool()
def create_mailbox(
account: str,
name: str,
parent_mailbox: Optional[str] = None # For nested folders
) -> str:
"""Create a new mailbox (folder) in the specified account.
Args:
account: Account name
name: Name for the new mailbox
parent_mailbox: Parent folder for nested mailboxes (e.g., "Projects")
Returns:
Confirmation with the new mailbox path
"""AppleScript Reference
tell application "Mail"
tell account "AccountName"
make new mailbox with properties {name:"NewFolder"}
-- or for nested:
make new mailbox at mailbox "Parent" with properties {name:"Child"}
end tell
end tellUse Cases
- "Create a folder for Project X"
- "Set up a Newsletters folder"
- "Create client-specific subfolders"
Priority
MEDIUM - Enables organization workflows
Labels
enhancement, priority-medium, organization
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels