I am using Google's Oauth 2.0 to get the user's access_token, but I dont know how to use it with imaplib to access inbox.
IMAP does not support accessing inbox without password -> so imaplib doesnt
Access Gmail Imap with OAuth 2.0 Access token