google scripts switch case statement 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;
}