title: 3 legged oauth (RSA-SHA1) imap gmail authentication - JAVA
body: <p>Problem:</p>
  
  <p>I want to use 3 legged oauth using RSA-SHA1 authentication for an Imap client with google. </p>
  
  <p>I have the access_token for a user. I've successfully grabbed the tokens, authenticated with google and grabbed an acess token. I know this access token is correct because I can correctly parse and read the Contacts api. </p>
  
  <p>I am having trouble with the imap (javamail-1.4.4) and RSA-SHA1 authentication and google. </p>
  
  <p>The examples are only for HMAC-SHA1. Has anyone figured out how to use RSA-SHA1 with google and successfully connect to their api and read emails ? Note that all I have is a saved access_token. </p>
  
  <p>THanks. </p>