fix mail config mime type