docs: def format_value(value):
      """
      Convert a list into a comma separated string, for displaying
      select multiple values in emails.
      """
      if isinstance(value, list):
          value = ", ".join([v.strip() for v in value])
      return value