See: https://github.com/nemomobile/nemo-qml-plugin-email/commit/1ca2f2847c006e6ca283991f03edf2810590eae6