Added parameters to sendMail function
Added plivo code