Skip to content

Add labels style command to change Gmail label colors #456

@iskw9973

Description

@iskw9973

Problem

gog gmail labels supports list, get, create, rename, modify, and delete, but there's no way to change label colors from the CLI.

The Gmail API supports setting label colors via labels.patch with the color field.

Proposed usage

gog gmail labels style --background-color "#16a765" --text-color "#ffffff"

Both --background-color and --text-color are required (Gmail API requires both). Colors must be from the predefined palette. System labels are blocked, consistent with rename/delete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions