implementing the mail Index data model v2