Check if a gmail address is a real gmail account

ACCOUNT=test@gmail.com
curl -sI "https://mail.google.com/mail/gxlu?email=$ACCOUNT" | grep -q COMPASS && true || false; echo $?