re-added mailcore2 target dependency