---
title: "Add Label"
description: "Local-first visual environment for building and running AI workflows. Build agents visually, deploy anywhere, privacy by design."
canonical: https://docs.nodetool.ai/nodes/lib/mail/addlabel
markdown: https://docs.nodetool.ai/nodes/lib/mail/addlabel.md
product: NodeTool
source: https://github.com/nodetool-ai/nodetool/blob/main/docs/nodes/lib/mail/addlabel.md
---

# Add Label

**Type:** `lib.mail.AddLabel`

**Namespace:** `lib.mail`

## Description

Adds a label to a Gmail message.
    email, gmail, label

## Properties

| Property | Type | Description | Default |
|----------|------|-------------|---------|
| message_id | `str` | Message ID to label | `` |
| label | `str` | Label to add to the message | `` |

## Outputs

| Output | Type | Description |
|--------|------|-------------|
| output | `bool` |  |

## Related Nodes

Browse other nodes in the [lib.mail](./) namespace.
