Repeat email v1

Also adds some badly needed testing infrastructure.
That's pretty much the entire point of this bug. We don't want to enforce the uniqueness of emails. This is what @brutal-chaos and I discussed.
Alternately, if we'd like to change our minds we can take a different approach on this bug.