use correct subdomain in mailers