fixed issue with file upload and sizes
made email asynch with error handling if delivery fails