Actions27
- Get Mailboxes
- List Mailboxes
- Create Mailbox
- Update Mailbox
- Delete Mailbox
- Get Labels
- List Labels
- Create Label
- Update Label
- Delete Label
- Get Filters
- List Filters
- Create Filter
- Update Filter
- Delete Filter
- Send Email
- Advanced: Login (debug)
- Advanced: Logout (debug)
- Legacy: List Mail APIs
- Legacy: Get Mail Server Version
- Legacy: List Messages
- Legacy: Get Message Detail
- Legacy: Move Message
- Legacy: Mark Read / Unread
- Legacy: Add / Remove Label
- Legacy: Get Account Info
- Legacy: Custom Mail Call
Create Label
AI-generatedSummary
Create a new label in Synology MailPlus with customizable name, background color, text color, and optional parent label association.
Inputs
- Label Name (required) — Specify the name of the new label to create.
- Background Color — Set the label's background hex color code (default is '24BFF2').
- Text Color — Set the label's text hex color code (default is 'FFFFFF').
- Parent Label ID — Provide the ID of a parent label to nest this label under; defaults to 0 (no parent).
Output shape
A JSON object representing the created label, including its ID and properties as returned by the Synology MailPlus API.
The output contains at least the 'success' status field and the created label data. Errors are thrown on failure.
