def METHOD_NAME(site):
	if not site or not isinstance(site, str) or not frappe.db.exists("Site", site):
		frappe.throw("Invalid site")
	from press.api.account import METHOD_NAME as send_link
	# send link to site owner
	email = frappe.db.get_value("Site", site, "team")
	send_link(email)
	return email