apply_label
Apply a label to an email using its UID to categorize messages within a mailbox, enabling efficient organization and retrieval by label.
Instructions
Apply a label to an email
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Email UID | |
| label | Yes | Label to apply | |
| mailbox | No | IMAP mailbox the UID came from (the `mailbox` field in list results, e.g. "[Gmail]/Sent Mail"). Defaults to INBOX. Required for emails returned by get_emails_by_label, since UIDs are only unique within a mailbox. |