added feature to get email from contacts