Added function to send mail to a recipent list using templates for
rendering