how to email purchase order at the time of release

hi,

i am able to email the purchase order when it is getting saved, ( following the procedure in sap note 191470 ), but the requirement is it has to be mailed at the time of final release. plz suggest me a solution.