Add `.` to the list of allowed characters.

This was missed when the email validation rules were relaxed in
dc34d80f6f622e883b8c7db9ef489bd514c8701f.

Fixes #4027