Refactored email spec test to be more maintainable.

This is a better test as it ensures the email template is used properly.
It also makes it so any minor template changes (grammar/spelling) don’t
require an update to the test, so it becomes less brittle.