Update to reflect new parameter mail_domain

Fix for #2499