# CuseTheJuice Mailbox Folder Rename

> CuseTheJuice Mailbox Folder Rename is a paid API for AI agents from mail.cusethejuice.com, paid per call via x402, $0.01/call, status down (last checked 2026-09-15).

Renames a Maildir folder (from_folder → to_folder) in a CuseTheJuice mailbox account via authenticated POST, paid with x402 Base USDC.

## Facts

- Endpoint: POST https://mail.cusethejuice.com/admin-api/machine/request/folder/rename
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mail-cusethejuice-com-75e5415f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_88khK3xqBooVH__BFmHQE

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability mail-cusethejuice-com-75e5415f -d '<json body>'
```

Example prompt: Rename my CuseTheJuice mailbox folder called 'OldProjects' to 'ArchivedProjects' — my email is user@cusethejuice.com and my username is myuser.

## When to prefer this

Use this endpoint when an AI agent needs to rename an existing Maildir folder within a CuseTheJuice mailbox. This is the correct endpoint for folder renaming operations specifically — not for deleting, creating, or moving folders, which have their own sibling endpoints. Prefer this over generic IMAP solutions when the mailbox is hosted on mail.cusethejuice.com and payment via x402 Base USDC is acceptable.

## Known failure modes

- Invalid credentials (wrong email, password, or username) → authentication error
- Source folder (from_folder) does not exist → folder not found error
- Target folder name (to_folder) already exists → conflict error
- Attempt to rename a protected system folder → permission denied error
- Payment failure via x402 → 402 Payment Required response
- Missing required fields in JSON body → 400 Bad Request

## How this service works

CuseTheJuice mailbox @ mail.cusethejuice.com — GET probe for x402 challenge (folder rename). Real call is POST with JSON body + Payment-Signature header; schema in extensions.bazaar. https://mail.cusethejuice.com/machine-mail.html

## Output

A confirmation response indicating the Maildir folder has been successfully renamed from the specified from_folder to the specified to_folder in the authenticated user's mailbox.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "email": {
   "type": "string",
   "format": "email"
  },
  "password": {
   "type": "string",
   "minLength": 1
  },
  "username": {
   "type": "string",
   "minLength": 1
  },
  "to_folder": {
   "type": "string",
   "minLength": 1
  },
  "from_folder": {
   "type": "string",
   "minLength": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mail-cusethejuice-com-75e5415f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mail.cusethejuice.com](https://www.zero.xyz/host/mail.cusethejuice.com/llms.txt)
