Switched EmailParser.pm to object manager.