cache key fixes for equal slug on templates and mail groups