gmail v0.1.5 Gmail.Label
Labels are used to categorize messages and threads within the user’s mailbox.
Summary
Functions
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/labels#resource
Converts a Gmail API label resource into a local struct
Creates a new label
Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to
Gets the specified label
Lists all labels in the user’s mailbox
Updates the specified label. This method supports patch semantics
Updates the specified label
Types
t :: %Gmail.Label{id: term, label_list_visibility: term, message_list_visibility: term, messages_total: term, messages_unread: term, name: term, threads_total: term, threads_unread: term, type: term}
Functions
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/labels#resource
Specs
convert(map) :: Gmail.Label.t
Converts a Gmail API label resource into a local struct.
Creates a new label.
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/labels/create
Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to.
Google API Documentation: https://developers.google.com/gmail/api/v1/reference/users/labels/delete
Gets the specified label.
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/labels/get
Lists all labels in the user’s mailbox.
Gmail API Documentation: https://developers.google.com/gmail/api/v1/reference/users/labels/list
Specs
patch(String.t, Gmail.Label.t) :: {atom, String.t, String.t, map}
Updates the specified label. This method supports patch semantics.
Google API Documentation: https://developers.google.com/gmail/api/v1/reference/users/labels/patch
Specs
update(String.t, Gmail.Label.t) :: {atom, String.t, String.t, map}
Updates the specified label.
Google API Documentation: https://developers.google.com/gmail/api/v1/reference/users/labels/update