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\
Problem solved by itself the next day ! I don't know if the GMail API team fixed something or if it was a temporary bug.