Configurable email domains per tenant

The first small step in many for inviting guests
Can you split this up into a separate input validation test?