Skip to content
All tools

create_email_folder

Email · macOS

Effect: write (strongest supported action). Status: gated.

Gated means the tool requires an installed app, a connected account, permission, or runtime availability. Check those requirements on the listed platform before using it.

macOS

Purpose

Creates a mailbox folder in the Mac's Apple Mail (Mail.app), in one account. If Mail has more than one account, `account` is required: the tool refuses to guess where the folder goes (list_email_accounts gives the names). If a folder with that name already exists it creates nothing and says so. Reports created only after it sees the folder in the account's folder list. Called without confirm it returns a preview; pass confirm=true to create.

Required inputs

Permissions and confirmation

Explicit confirmation parameter: inspect the schema and tool description before any real call. The documentation example keeps confirm false. Obtain user authorization before performing the action.

Full input schema — macOS
{
  "properties": {
    "account": {
      "description": "Account name (optional, uses default)",
      "type": "string"
    },
    "confirm": {
      "description": "Must be true to create",
      "type": "boolean"
    },
    "name": {
      "description": "Folder name",
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}

Documentation example

Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.

{
  "confirm": false,
  "name": "Planning meeting"
}