blah, js email parsing bugs