Please check the following link , which will help you out.
Thanks for links , karthik .
However I think there is a way to do this without developing any code , but with SAP customization in SPRO , that
cause mail transactions to be sent to exchange too. (to become real mails).
So if anyone knows such a customization , I will be happy to know.