test mailcore2 library