gmail v0.0.18 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(id, user_id \\ "me", format \\ "full")

Gets the specified thread.

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

list(user_id \\ "me", 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(query, user_id \\ "me")

Specs

search(String.t | String.t, String.t) :: {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