download attachment works with email