Send an email with attachment to be deleted after being sent

Hello again,
I was wondering if there was a simple way to have a form in a site that would simply be used to compose an email with an attachment that would then be deleted as soon as the email is sent.
What I am looking for is maybe a way to cache an image without actually uploading it to the server, or upload it to the server and then pipe a delete function at the end of the email sending process.
I was looking at maybe using bamboo to send emails.

Thank you very much :slight_smile: