Checking Gmail using cURL