gmail v0.1.3 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
Gets the specified message
Lists the messages in the user’s mailbox
Searches for messages in the user’s mailbox
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
Specs
get(String.t, String.t, map) ::
{atom, Gmail.Message.t} |
{atom, String.t} |
{atom, map}
Gets the specified message.
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/messages/get
Specs
list(String.t, map) :: {atom, [Gmail.Message.t]}
Lists the messages in the user’s mailbox.
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/messages/list
Specs
search(String.t, String.t, map) :: {atom, [Gmail.Message.t]}
Searches for messages in the user’s mailbox.
Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/messages/list