fix extremely obnoxious email parsing bug