gmail v0.1.3 Gmail.Thread

A collection of messages representing a conversation.

Summary

Functions

Gets the specified thread

Lists the threads in the user’s mailbox

Searches for threads in the user’s mailbox

Types

t :: %Gmail.Thread{history_id: term, id: term, messages: term, snippet: term}

Functions

get(user_id, thread_id, params)

Specs

get(String.t, String.t, map) ::
  {atom, Gmail.Thread.t} |
  {atom, String.t} |
  {atom, atom}

Gets the specified thread.

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

list(user_id, params)

Specs

list(String.t, map) :: {atom, [Gmail.Thread.t], String.t}

Lists the threads in the user’s mailbox.

Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/threads/list

search(user_id, query, params)

Specs

search(String.t, String.t, map) :: {atom, [Gmail.Thread.t]}

Searches for threads in the user’s mailbox.

Gmail API documentation: https://developers.google.com/gmail/api/v1/reference/users/threads/list