Switched email list to array