I want to import emails from another Gmail account by some specific email addresses? I have created another Gmail account for family and friends and I want all mails by them in my newly created account.
First you will need to create a filter and set all those specific email addresses in its conditions, and set it up to apply a new label (say, "Family"), to all messages, including existing ones.
Then you can follow this tutorial but instead of dragging all folders into your new account you would need to drag only the label "Family" which contains all your desired messages
EDIT: There's also "Gmail Backup" which claims might help with this, but I have not tried it.