Previously "localhost" was used as the default email domain. Now the configured site domain is used instead.