newsletter form styled & email functionality code refactored