playing with mailcore2 libraries in swift