code to try and suck pop emails into a db