Custom emails [PD-623]

There's no direct link to the 'edit your domains' page yet. I figured I'd wait until David was done with the UI changes to mess with that.

All tests pass.
Correction. I'll fix this in a separate PR when we get time to do clean up of the overall code base.