Modify registration of email validator.

Signed-off-by: Tanzeel Kazi <me@tanzeelkazi.com>
Update API documentation.

Signed-off-by: Tanzeel Kazi <me@tanzeelkazi.com>