r-lib / gmailr

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

Enhancement: Support for Vector or List of Emails for Multiple Recipients #197

Open nikitoshina opened 6 months ago

nikitoshina commented 6 months ago

This pull request introduces the ability to pass a vector or list of emails to the function, enabling the creation of an email with multiple recipients. This feature addresses an issue encountered by our team, where there was an assumption that the function could naturally handle a vector/list of emails for sending to multiple recipients. A thorough search revealed no documentation on how to achieve this, indicating a gap in usability for users unfamiliar with the underlying mechanics of the function.

The addition of this feature simplifies the process of including multiple recipients, CCs, and BCCs, making it more accessible and user-friendly, especially for those not versed in the function's inner workings.