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