Skip to content

Add label management #3

Description

@swinton

Labels are Gmail's primary organizational primitive and are completely absent from the REPL today.

Proposed API

// List all labels
await labels()

// Get a single label
await label('Label_123')

// Add a label to a message
await addLabel('1883a5111e8ef47c', 'Label_123')

// Remove a label from a message
await removeLabel('1883a5111e8ef47c', 'Label_123')

Notes

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