static Future<void> setEmailPermission(bool isAllowed) async { await _platform.invokeMethod(_setEmailPermission, {"isAllowed": isAllowed}); }