code: function overrideEmail(email: string): string {
    if (!_.includes(cfg.email.guardedEnvironments, process.env.NODE_ENV)) {
      return email;
    }
    if (!cfg.email.devEmail) {
      throw new Error("Email failed to send: cfg.email.devEmail is not set");
    }
    return getOverriddenEmail(email);
  }
docs: Before calling sendEmail, use this to make sure email addresses are protected on guarded environments
  @param {String} email [address]