Learn R Programming

⚠️There's a newer version (1.0.1) of this package.Take me there.

gmailr (version 0.5.0)

Access the Gmail RESTful API from R

Description

An R interface to the Gmail RESTful API. Allows access to your Gmail messages, threads, drafts and labels from R.

Copy Link

Version

Install

install.packages('gmailr')

Monthly Downloads

30,832

Version

0.5.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jim Hester

Last Published

September 18th, 2014

Functions in gmailr (0.5.0)

draft

Get a single draft
to

Methods to get values from message or drafts
to.mime

Accessor functions for mime messages
body

Get the body text of a message or draft
attachment

Retrieve an attachment to a message
modify_message

Modify the labels on a message
modify_thread

Modify the labels on a thread
mime

Create a mime formatted message object
messages

Get a list of messages
threads

Get a list of threads
send_draft

Send a draft
save_attachments

Save attachments to a message
insert_message

Insert a message into the gmail mailbox from a mime message
save_attachment

save the attachment to a file
delete_label

Permanently delete a label
gmailr

gmailr makes gmail access easy.
message

Get a single message
create_label

Create a new label
thread

Get a single thread
labels

Get a list of all labels
update_label

Update a existing label.
gmail_auth

Setup oauth authentication for your gmail
send_message

Send a message from a mime message
create_draft

Create a draft from a mime message
quoted_printable_encode

Encode text using quoted printable
delete_thread

Permanently delete a single thread.
history

Retrieve change history for the inbox
%>%

Pipe statements
label

Get a specific label
trash_thread

Send a single thread to the trash
as.character.mime

Convert a mime object to character representation
print

Print gmailr objects
id

Get the id of a gmailr object
attach_part

Attach an object to a mime message
text_body

Add a text or html body to a mime message
trash_message

Send a single message to the trash
delete_message

Permanently delete a single message
untrash_message

Remove a single message from the trash
drafts

Get a list of drafts
untrash_thread

Remove a single thread from the trash.
format

Format gmailr objects for pretty printing
import_message

Import a message into the gmail mailbox from a mime message