fixed: ajax uploads - with email plugin - only first file was being attached