+1 vote

Hi,
I have one account in gmail but I had imported another accounts from AOL.
So there is one method called :

GoogleApi api = new GoogleApi(accessToken);
string user = api.GetEmailPlus();

So here I'm getting email address of my original account. Is there any way to get the mail address from which I added them in my gmail account.

PS - You can import other account in gmail by clicking settings button and then by clicking Accounts and Imports tab.

Thanks,
Sarathi

by (1.4k points)

1 Answer

0 votes
 
Best answer

I think this is not possible.

What you can do is to use IMail.To email when processing each message.
To should point to original account the email was sent to.

by (297k points)
selected by
Yes,
You are correct. Nice suggestion.

Thanks for the quick reply.
One more confusion here.
A mail can have multiple TO email address.
Let's say person "A" send mail to "B,C" and to me.
Then how we will know which is my other account.
You probably have finite and well known list of accounts imported to Gmail.
...