gmail.deleteLabel permanently deletes a user-owned label without deleting labeled messages or threads.
Use an immutable label ID when possible. The action resolves display names case-insensitively against the connected mailbox.
Example
automations/delete-old-label.automation.ts
Inputs
Inputs accept compatible signals.
Output
Returns the deleted label’s immutable ID as aSignal<string>.
The action fails before deletion when no label in the connected mailbox matches the supplied name or ID.