Set domain in base initialize

This fixes things like sending email