Google OAuth2



1. Enable Google Gmail API

Before you start to do OAuth2 authentication, you need to enable Gmail API in Google API Console Site.
  • Create Project
  • Enable Gmail API
  • 2. Acquire your OAuth 2.0 Client IDs

    You need to acquire a OAuth 2.0 Client IDs to do authorization.
  • Create credentials
  • 3. Input required information in RaidenMailOAuthProxy to complete settings.

  • Input your Gmail email, Client ID and Client Secret in RaidenMailOAuthProxy.








    • Authorization code is acquired.




      Access Token is acquired.


      Congratulations! You already complete all steps for Google OAuth2 Authentication. RaidenMailOAuthProxy is ready to go.
      Please be aware of the Acces Token is valid for 1 hour, and the Refresh token is valid for 7 days, which means you need to redo authorization in 7 days to make RaidenMailOAuthProxy works continuously.


    4. Configure your Mail Client. Here is an example for outlook.

  • Add account
    • Add an account and setup it manually




  • IMAP4
    • Input any password. SMTP uses 25 port with STARTTLS, IMAP4 uses 993 port with SSL.




  • POP3
    • Input any password. SMTP uses 25 port with STARTTLS, POP3 uses 995 port with SSL.