Given a parsing function stores the data in mysql and sends an email when there is new data