Script for adding attachment link

Hi,
I want to add links of all attachments of a transaction in e-mail
notification, like RT shows on web. How can i do that ? any hint or if
there is a script, then kindly point me to that script.

Thanks,
Nadeem.