found some code that might connect to gmail