Links sent by Email on FrappeCloud are incorrect

I’m not sure if this is a FrappeCloud issue or a Frappe issue, but here it goes:

I have few sites on frappe cloud, all running frappe and erpnext. When the system is sending out an email, the link it generates goes to an subdomain that is incorrect.


In this link, the subdomain, url326 is incorrect and it shows up in every email sent by my frappe installation. The domain itself is correct. How can I fix this?