add more checks for gmail.sh