r-lib/gmailr

inserting messages into existing threads

Opened this issue · 1 comments

This is possible with the threadId parameter in the API, however you have to set the References, In-Reply-To and Subject headers properly. It would be nice to make this automatic, i.e. by passing a function the thread object and the message, and have it modify it appropriately.

How do you set the References, In-Reply-To and Subject headers properly with gmailr. I am trying to create a response for a specific message.