mail validator in yaml