completed CSV persistance and e-mail communication module