Questions tagged [gmailr]

30 questions
1
vote
1 answer

r GMAILR how to re-establish original OAuth after blastula install oath overwrite

I configured my oauth succesfully with gmailr, the following code worked require(gmailr) gm_auth_configure(path="E:/SOME_NAME.json") test_email <- mime( To = "someone@something.com", From = "someone@gmail.com", Subject = "this is just a gmailr…
user2948714
  • 671
  • 2
  • 9
  • 13
1
vote
1 answer

Gmailr Disabled Gmail Connection Access

I created a shiny app that allows me to connect to my gmail using the gmailr app. I've had it running for a few months now and then all of a sudden Google disabled access. How to I get access back? gmailr::gmail_auth()
nak5120
  • 4,089
  • 4
  • 35
  • 94
1
vote
1 answer

Running gmailr in shinyapps.io

I just deployed a shiny app in shinyapps.io. It worked fine locally but when I deployed it, the gmailr authentication popup did not appear. I checked the logs in shinyapps.io, and it is working in the background but not in the front end. For…
nak5120
  • 4,089
  • 4
  • 35
  • 94
0
votes
0 answers

Assign a label to Gmail emails from a dataset using {gmailr}

library(tidyverse) library(gmailr) I'm trying to assign a label to a specific set of emails using the {gmailr} package. This is necessary in order to download specific emails/attachments. So far, I have only been able to create the label, but I…
itamar
  • 193
  • 5
0
votes
0 answers

Unable to confirm Google credentials for `Gmailr` when running via Windows Task Scheduler

I'm trying to schedule an R script to run through Windows Task Scheduler, and I'd like this script to send an automated email through gmailr when it has finished running. Currently, I have the task scheduled to run in Task Scheduler, and it will run…
0
votes
1 answer

Gmailr, authendication problem in one host but not others

gmailr authentication fails, after a fresh installation of Debian, only on one of my systems. I have a script that run fine on two remote machines, but fails on my local machine. I use this for authentication: gm_auth_configure(path =…
ThanasisN
  • 73
  • 1
  • 9
0
votes
1 answer

Why is gmailr not working in docker build process?

I'm using the gmailr package for sending emails from a r script. Locally it's all working fine, but when I try to run this during a docker build step in google cloud I'm getting an error. I implemented it in the following way described here. So…
alkali
  • 1
  • 2
0
votes
0 answers

How do I pass JSON in GitHub Secret as environment variable in R script for Github Action workflow

I'm trying to run an action that requires JSONs for authentication within my R Script. I have stored these two JSON as Github Secrets Action: GMAIL_ADDRESS GMAIL_SECRET_API This is my main.yml section that calls these two JSONs # Run R script …
Andrea
  • 105
  • 10
0
votes
1 answer

gmailr credentials randomly (?) need re-authentication

I'm using gmailr in an automatic R script to send out some emails. It's been working fine for about a month and a half, but recently it failed with the following error: Error: Can't get Google credentials. Are you running gmailr in a non-interactive…
maja zaloznik
  • 660
  • 9
  • 24
0
votes
1 answer

gm_auth function with gargle_oauth_cache stop working

I have written R script that download email's from gmail. I have used gm_auth with gargle_oauth_cache. library("gmailr") gm_auth_configure(path = "path.json") gm_auth(email = "mail", cache = gargle::gargle_oauth_cache(), use_oob =…
Igniste
  • 108
  • 6
0
votes
1 answer

Shiny feedback to user once e-mail is sent

I need some shiny wisdom, please. Below code works well in shiny server part; it sends an e-mail when user clicks actionButton("mailButton", "e-mail!") in ui part with a PDF report attached via gmailr. The only problem I have is that there is no…
r0berts
  • 842
  • 1
  • 13
  • 27
0
votes
1 answer

Extracting All Emails Using GmailR

I'm trying to extract all the emails from my gmail account to do some analysis. The end goal is a dataframe of emails. I'm using the gmailR package. So far I've extracted all the email threads and "expanded" them by mapping all the thread IDs to…
setty
  • 425
  • 3
  • 18
0
votes
1 answer

Created a list in R using gmailr, it looks like a table but I can't convert it to a dataframe

I have a list that when I print in the console looks like a dataframe. I want to be able to convert this list to a dataframe (with 7 rows and 2 columns) but I am not sure how to. When I unlist this object it just starts to get even…
0
votes
0 answers

Executing gmail_auth() in r using command line asks for authentication every time

I'm executing an R script from the command line: library(gmailr) gmail_auth(scope = c("read_only", "modify", "compose", "full"), secret_file = "C:\\Sentiment Analysis from Email in R\\client.json") But it's asking for authentication each and…
Reshu S
  • 1
  • 2
0
votes
1 answer

gmailr package Query Gmail Stats with R

I am trying to pull stats from the gmail API using R. I am using gmailr package. I am able to send an email from R but that's about where it ends. I was using these links to try to figure this out but it does not seem to be working:…
Sven
  • 301
  • 2
  • 18
1
2