Error 10053 When Sending Large Attachments using Gmail API
问题 I'm trying to send emails of various sizes using the Gmail API and the functions below. Generally this works perfectly, however for attachments over around 10MB (which are rare but will happen) I recieve Errno 10053 which I think is because I timeout when sending the message including the large attachment. Is there a way around this by say, specifying size or increasing the timeout limit? There's reference to size in the Gmail API docs, but I'm struggling to understand how to use in Python or