analyse email database