Hi Mrudula and welcome to our forum!
An easier approach would be just to use an Active Directory group for the user roles. For each group, set up a distribution list (one e-mail address) that sends e-mail to the group. I hope this helps.
Patrick Halstead
Project Manager at Qdabra