If a user has created a draft in the gmail web UI that contains Unicode characters in the subject, calling Draft.Send seems to not handle these unicode characters correctly.
You can test this by:
- Create a draft in gmail with the subject "snowman ☃"
- Call drafts.list to get the draft id in the API explorer (https://developers.google.com/gmail/api/v1/reference/users/drafts/list#try-it)
- Call Drafts.send using that draft id in the api explorer (https://developers.google.com/gmail/api/v1/reference/users/drafts/send#try-it)
- Goto Gmail web ui, then the sent folder, and see that the email was sent with a subject of "snowman: ☃"
Any workarounds for this?