Access the Gmail RESTful API from R.