r-lib / gmailr

Access the Gmail RESTful API from R.
https://gmailr.r-lib.org
Other
229 stars 56 forks source link

gm_date returning current date, not internalDate #198

Open pbradl42 opened 4 months ago

pbradl42 commented 4 months ago

I'm running gmailr 2.0.0, and the date returned from gm_date is the current date and time. Is there something that can be passed in the '...' arguments to return the date the message was received? (i.e. 'InternalDateSource' / 'receivedTime', etc)

Code is simply: the_message <- gm_thread(msg_id) the_date <- gm_date(the_message)