updated mailcore2 library to latest version