New hook for attachment download

Proposal of a new hook to interact with attachments download