I am able to create simple html-only drafts using the GMail API.
But when I try to upload attachments it fails with the following error :
{
\"code\
I think that code is reasonable. Can you provide the output from the email.writeTo(System.out) to confirm? Seems like a bug in the Gmail API.
Is this repeatable for any specific user? (Does it always fail or will it eventually work?)
Does it happen for all users or only certain users (e.g. does it work for gmail.com users and not for Google Apps users)?