Learn R Programming

gmailr (version 0.5.0)

gmail_auth: Setup oauth authentication for your gmail

Description

Setup oauth authentication for your gmail

Usage

gmail_auth(secret_file, scope = c("read_only", "modify", "compose", "full"))

Arguments

secret_file
the secret json file downloaded from https://cloud.google.com/console#/project
scope
the authentication scope to use

Examples

Run this code
gmail_auth("file", "compose")

Run the code above in your browser using DataLab