All functions

to() from() cc() bcc() date() subject()

Methods to get values from message or drafts

as.character(<mime>)

Convert a mime object to character representation

attachment()

Retrieve an attachment to a message

body()

Get the body text of a message or draft

clear_token()

Clear the current oauth token

create_draft()

Create a draft from a mime message

create_label()

Create a new label

delete_label()

Permanently delete a label

delete_message()

Permanently delete a single message

delete_thread()

Permanently delete a single thread.

draft()

Get a single draft

drafts()

Get a list of drafts

gmail_auth()

Setup oauth authentication for your gmail

gmailr

gmailr makes gmail access easy.

history()

Retrieve change history for the inbox

id()

Get the id of a gmailr object

import_message()

Import a message into the gmail mailbox from a mime message

insert_message()

Insert a message into the gmail mailbox from a mime message

label()

Get a specific label

labels()

Get a list of all labels

last_response()

Response from the last query

message()

Get a single message

messages()

Get a list of messages

mime() to(<mime>) from(<mime>) cc(<mime>) bcc(<mime>) subject(<mime>) text_body() html_body() attach_part() attach_file()

Create a mime formatted message object

modify_message()

Modify the labels on a message

modify_thread()

Modify the labels on a thread

quoted_printable_encode()

Encode text using quoted printable

save_attachment()

save the attachment to a file

save_attachments()

Save attachments to a message

send_draft()

Send a draft

send_message()

Send a message from a mime message

thread()

Get a single thread

threads()

Get a list of threads

trash_message()

Send a single message to the trash

trash_thread()

Send a single thread to the trash

untrash_message()

Remove a single message from the trash

untrash_thread()

Remove a single thread from the trash.

update_label() update_label_patch()

Update a existing label.

use_secret_file()

Use information from a secret file