read a hive job or hadoop file  to send mail