using analytics for email marketing improvement