Only cache email templates in production