Learn R Programming

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

gmailr (version 0.6.0)

Access the Gmail RESTful API

Description

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

Copy Link

Version

Install

install.packages('gmailr')

Monthly Downloads

30,832

Version

0.6.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Jim Hester

Last Published

December 4th, 2014

Functions in gmailr (0.6.0)

gmailr

gmailr makes gmail access easy.
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
create_draft

Create a draft from a mime message
save_attachment

save the attachment to a file
format

Format gmailr objects for pretty printing
body

Get the body text of a message or draft
labels

Get a list of all labels
untrash_thread

Remove a single thread from the trash.
delete_label

Permanently delete a label
messages

Get a list of messages
modify_message

Modify the labels on a message
untrash_message

Remove a single message from the trash
delete_message

Permanently delete a single message
print

Print gmailr objects
send_message

Send a message from a mime message
%>%

Pipe statements
gmail_auth

Setup oauth authentication for your gmail
modify_thread

Modify the labels on a thread
trash_message

Send a single message to the trash
attach_part

Attach an object to a mime message
threads

Get a list of threads
draft

Get a single draft
drafts

Get a list of drafts
to

Methods to get values from message or drafts
create_label

Create a new label
message

Get a single message
trash_thread

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

Convert a mime object to character representation
attachment

Retrieve an attachment to a message
thread

Get a single thread
update_label

Update a existing label.
delete_thread

Permanently delete a single thread.
id

Get the id of a gmailr object
history

Retrieve change history for the inbox
mime

Create a mime formatted message object
text_body

Add a text or html body to a mime message
save_attachments

Save attachments to a message
quoted_printable_encode

Encode text using quoted printable
to.mime

Accessor functions for mime messages
send_draft

Send a draft