Added restful services to send email with pdf attached