google app script switch case code example
Example: switch case google script
switch (email) {
case "basdf":
email = "[email protected]";
break;
case "dfdsa":
email = "[email protected]";
break;
default:
email = "[email protected]";
break;
}