Success message and email bad char fix