gmail v0.0.6 Gmail.Label

Labels are used to categorize messages and threads within the user’s mailbox.

Summary

Functions

Gets the specified label

Gets the specified label

Lists all labels in the user’s mailbox

Types

t :: %Gmail.Label{id: term, labelListVisibility: term, messageListVisibility: term, messagesTotal: term, messagesUnread: term, name: term, threadsTotal: term, threadsUnread: term, type: term}

Functions

get(id)

Specs

Gets the specified label.

Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/labels/get

get(user_id, id)

Gets the specified label.

Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/labels/get

list(user_id \\ "me")

Specs

list(String.t) :: {:ok, [Gmail.Label.t]}

Lists all labels in the user’s mailbox.

Gmail API Documentation: https://developers.google.com/gmail/api/v1/reference/users/labels/list