﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36809	Allow EmailValidator to customize error messages depending on the part that failed validation	Daniel E Onetti	jaffar Khan	"Currently, the EmailValidator only provides the full 'value' in the params dictionary when a ValidationError is raised. However, in many use cases, developers need to customize error messages based specifically on the domain part of the email (e.g., ""The domain %(domain_part)s is not allowed"").

This change adds 'domain_part' to the params dictionary in EmailValidator.__call__, bringing it in line with how other validators provide decomposed parts of the validated value. This allows for more granular and helpful error messages for end users.

I have already prepared a patch with tests and verified that it passes all style (flake8) and functional checks."	Cleanup/optimization	assigned	Core (Other)	dev	Normal		EmailValidator	Mike Edmunds jaffar Khan	Accepted	1	1	1	1	0	0
