I am curious to know, how Salesforce manage attachments which we add while sending an email from activity. Does Salesforce stores those files somewhere in hidden objects and use them once we click on Send Email button? Because if we try to build such functionality, we have to attach the file to some record and include them as an attachment while sending the email.
Is there any possibility to send a file as an attachment without saving into salesforce?
ContentVersion
(Files) and attached to the Task via aContentDocumentLink