Fastmail icon

Fastmail

Actions for Fastmail messages, labels, drafts and threads

Label → Create a Label

AI-generated

Summary

Create a label in Fastmail.

Inputs

  • labelName (required) — The name of the label to create.

Output shape

An object with labelId, name, and success fields.

Returned when the label creation JMAP call succeeds. If debug is enabled, the raw JMAP response is included via the node's standard debug wrapper.

Examples

Example 1: Create a label named 'Work'.

Set resource to 'Label', operation to 'Create a Label', and provide 'Work' as the Label Name.

Links

Discussion