Contacts Importer from Invite Friends and Twitter API

I'm creating a contacts importer plugin to allow users to login to their email accounts from a website and invite their contacts in their address books to join the website. I'm modifying the Invite Friends bundled plugin to include this "Invite friends from email providers" feature by learning how the Twitter API accesses users' Twitter accounts from a website. Let us collaborate on this.