A Gmail texting scam has been reported after users unknowingly handed over their passwords to cybercriminals, losing access to their email accounts.