Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Possible Duplicate:
Get e-mail addresses from Gmail messages received

I have a Google Apps Gmail account and I would like to extract all email adresses in the from and to (and cc, bcc and reply-to if possible) headers of every message.

How can I do this?

I've found a site (https://gmailextract.com/) that promises to do exactly what I need, but I don't think I can trust it with my password.

share|improve this question

marked as duplicate by phwd Mar 14 '11 at 17:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Your question is unclear. Do you mean extract the addresses from each incoming email and save them somewhere, or extract all the addresses you've ever sent or received anything from ever? –  nhinkle Dec 23 '10 at 22:04
    
The latter, but if it can't be done, the former will do. –  hpique Dec 23 '10 at 22:10
add comment

1 Answer 1

up vote 0 down vote accepted

I would do it the old fashion offline way:

1) Download all mails with Gmail Backup or an IMAP client if you only want headers

2) Use a regexp tool on the downloaded files or headers to find the email adresses and save the result into a text file

3) Optionally import the file into Contacts in Gmail

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.