How to connect a device to Gmail Server