gmail v0.1.6 Gmail.Message
An email message.
Summary
Functions
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/messages#resource
Converts a Gmail API message resource into a local struct
Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer trash instead
Gets the specified message
Lists the messages in the user’s mailbox
Searches for messages in the user’s mailbox
Moves the specified message to the trash
Removes the specified message from the trash
Types
t :: %Gmail.Message{history_id: term, id: term, label_ids: term, payload: term, raw: term, size_estimate: term, snippet: term, thread_id: term}
Functions
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/messages#resource
Specs
convert(map) :: Gmail.Message.t
Converts a Gmail API message resource into a local struct.
Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer trash instead.
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/messages/delete
Gets the specified message.
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/messages/get
Lists the messages in the user’s mailbox.
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/messages/list
Searches for messages in the user’s mailbox.
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/messages/list
Moves the specified message to the trash.
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/messages/trash
Removes the specified message from the trash.
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/messages/untrash