Update gmail checker script; some tuning