use rscript for checking gmail