Andi Skill Builder API Documentation

Type Alias: EmailValidationOptions

type EmailValidationOptions = {
  hostBlacklist?: string[];
  message?: string;
  type: IsEmail;
};

Properties

Property Type Description
hostBlacklist? string[] A list of hosts to disallow (e.g. ["gmail.com"] will fail to validate "myemail@gmail.com")
message? string The message to display if the response fails validation. If unspecified, displays a generic message.
type IsEmail Validates that a string is a valid email.