pass attachment mime type, size, etc into storage provider