Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`print.gmail_message()` prints nonexistent fields #88

jennybc opened this issue Nov 12, 2017 · 0 comments


Copy link

commented Nov 12, 2017

print.gmail_message() would be useful (reveals To, From, etc.) but it prints fields that aren't actually in an object of class "gmail_message". Or, rather, aren't necessarily present. With this workflow, they aren't available.

#> Loading gmailr
msg <- mime() %>%
  from("") %>%
  to("") %>%
  text_body("post calling gmail_auth_config()")
x <- send_message(msg)
#> [1] "gmail_message"
#> Id: 15fb1221666ca31d
#> To: 
#> From: 
#> Date: 
#> Subject: 
#> $id
#> [1] "15fb1221666ca31d"
#> $threadId
#> [1] "15fb1221666ca31d"
#> $labelIds
#> $labelIds[[1]]
#> [1] "SENT"

@jimhester jimhester closed this in ae319b5 Aug 13, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.