Summary
We should remove the email-validator dependency from the v2 Lambda Layer and SAR.
Why is this needed?
As we try to reduce the size of our v2 layer, we noticed that the email-validator is only needed if you use the pydantic's EmailStr validator.
Currently, adding email-validator adds ~400KB to our compressed layer size.
Which area does this relate to?
Validation
Solution
No response
Acknowledgment