using analytics for email marketing improvements