How to export all email addresses from my "Inbox" and "Sent" folders to the suggestion list for auto-completion?

How to export all email addresses from my “Inbox” and “Sent” folders to the suggestion list for auto-completion?