I want to migrate gmail messages from one gmail account to another gmail account using Imap server access using oauth.
First I got oauth access token of first gmail account and got ImapMessageInfoCollection for first gmail account.
Second i got oauth access token of second gmail account .
Now when i try to fetch messages from first gmail account ImapMessageInfoCollection, I get exception “object has been disposed” .
Is it possible to access two gmail account messages at same time using Imap Oauth?