Added new email extracting class and some tests