Added code for analyzer to send mail using record value.
Added result renderer.
Added error handling.