email an attachment from CLI