Email Record: Learning structure and schemas from documents