Script to get email addresses