How to receive uploaded files as attachments with email alerts