syntaxerror fix
various fixes to the domain scheme and mail system