Google Apps Script API
    Preparing search index...

    A user-created label in a user's Gmail account.

    interface GmailLabel {
        addToThread(thread: GmailThread): GmailLabel;
        addToThreads(threads: GmailThread[]): GmailLabel;
        deleteLabel(): void;
        getName(): string;
        getThreads(): GmailThread[];
        getThreads(start: number, max: number): GmailThread[];
        getUnreadCount(): number;
        removeFromThread(thread: GmailThread): GmailLabel;
        removeFromThreads(threads: GmailThread[]): GmailLabel;
    }
    Index

    Methods