Restrict access to Gmail information

Closes #1080