added another hack to checkgmail script