Simplify email address matching regex, make it more robust, unit test.

The unnecessary use of delimiters in the old regex was breaking some
cases that, while not relevant for our purposes, were more quickly
fixed than documented.