Hi,
Unless I missed it, I couldn't find a way in gmailr to create new emails. From https://developers.google.com/gmail/api/v1/reference/users/drafts/create it seems to me that the Google API does support creating new drafts. I don't know how hard it would be, but if something like a create_draft() function was added, then together with send_draft() we could send emails from gmailr. That would then open up to the use case that @kbroman talked about in his blog.
@kwbroman you should also check out https://t.co/11t6IA4bfQ
— Hadley Wickham (@hadleywickham) September 3, 2014
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
Cheers,
Leo
Hi,
Unless I missed it, I couldn't find a way in
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>gmailrto create new emails. From https://developers.google.com/gmail/api/v1/reference/users/drafts/create it seems to me that the Google API does support creating new drafts. I don't know how hard it would be, but if something like acreate_draft()function was added, then together withsend_draft()we could send emails fromgmailr. That would then open up to the use case that @kbroman talked about in his blog.Cheers,
Leo