gmail v0.1.3 Gmail.User

Represents a user’s mailbox, holding it’s config and tokens.

Summary

Functions

Gets a label from the specified user’s mailbox

Lists all labels in the specified user’s mailbox

Gets a message from the specified user’s mailbox

Lists the messages in the specified user’s mailbox

Searches for messages or threads in the specified user’s mailbox

Starts the process for the specified user

Stops the process for the specified user

Gets a thread from the specified user’s mailbox

Lists the threads in the specified user’s mailbox

Functions

draft(user_id, draft_id)
draft(atom, user_id, draft_id)
drafts(user_id)
label(user_id, label_id)

Gets a label from the specified user’s mailbox.

label(atom, user_id, label_name)
labels(user_id)

Lists all labels in the specified user’s mailbox.

message(user_id, message_id, params \\ %{})

Gets a message from the specified user’s mailbox.

messages(user_id, params \\ %{})

Lists the messages in the specified user’s mailbox.

search(user_id, thread_or_message, query, params \\ %{})

Searches for messages or threads in the specified user’s mailbox.

start(user_id, refresh_token)

Starts the process for the specified user.

stop(user_id)

Stops the process for the specified user.

thread(user_id, thread_id, params \\ %{})

Gets a thread from the specified user’s mailbox.

threads(user_id, params \\ %{})

Lists the threads in the specified user’s mailbox.