did some reorganizing and got email parser outputting correct data