Added mail function testing code
Change the permission to READ
Add trace to print out mail result
comment out the code to load resourcedao via policy check
fix additional header format
modify email testing to use osehra account