Creating an email parser infrastructure