r-lib / gmailr

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

display name not showing up #171

Open majazaloznik opened 2 years ago

majazaloznik commented 2 years ago

The display name on my gmail account seems to get lost when sending emails via gmailr - the recipient just sees the first part of the email address.

Slightly confusingly (for me) it also doesn't work if I explicitly try setting it with gm_from(). I would have expected the email to either not send at all or to send with the display name in the header, but it sends fine and looks the same (to the recipient) than if the email address is specified instead (or indeed it if it remains unspecified even).

jennybc commented 1 year ago

https://developers.google.com/gmail/api/reference/rest/v1/users.settings.sendAs

(this is a note to my future self)