Reputation: 313
In my Chrome plugin, I'm composing a new email with a user selected attachment from an existing email. I would like to avoid downloading and uploading the attachment and instead use the existing "attachment id" in the new email. Before I spent few days researching, I would like to know whether this is possible to do.
Thank you.
Upvotes: 0
Views: 612
Reputation: 2259
First, an attachment is inherent part of an email. Its like a block of characters in the complete email. Although, it has an ID but this ID is unique in the corresponding email only, the email in which it is present.
The thing which you are trying to achieve is possible in following scenarios:
Therefore, if there are APIs available inside gmailAPIs which can help you in accessing a particular attachments inside a particular email then method 2 is possible.
If something is unclear or need to proceed with some implementation then please revert here.
Upvotes: 1