send mail specifying subject and body templates with parameters