It looks like your email message isn't formatted correctly.
`Please click the following link to verify your new email address:\n\n{####}`
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-verificationmessagetemplate.html
https://regex101.com/