Optionaloptions: IsEmailOptionsOptions to be passed to the decorator.
OptionalvalidationOptions: ValidationOptionsValidation options (e.g. each for collections).
A property decorator that validates and transforms the field to an email or an array of emails.
Your can load environment variables in the form of an email.
This decorator can be used to validate and transform a field in a email or an array of emails.