Changes to all - connecting email parsing to js