.apiKey(clientId)
.apiSecret(clientSecret)
.scope("https://mail.google.com/")
.build();
Token requestToken = oAuthService.getRequestToken();
System.out.println("Retrieved Request token. Please paste the verifier from this URL:");
System.out.println("https://www.google.com/accounts/OAuthAuthorizeToken?oauth_token="
+ requestToken.getToken());
System.out.print("\n> ");
Scanner in = new Scanner(System.in);
Verifier verifier = new Verifier(in.nextLine());
Token accessToken = oAuthService.getAccessToken(requestToken, verifier);
System.out.println("\nAccess token successfully retrieved: " + accessToken.getToken());
return new OAuthorize(accessToken.getToken(), accessToken.getSecret());
}