def METHOD_NAME(
    self,
    description: str,
    params: Mapping[str, Any],
    url: bool | None = False,
    provider: ExternalProviders | None = None,
) -> str:
    if self.user:
        name = self.user.name or self.user.email
    else:
        name = "Sentry"
    issue_name = self.group.qualified_short_id or "an issue"
    if url and self.group.qualified_short_id:
        group_url = self.group.get_absolute_url(params={"referrer": "activity_notification"})
        issue_name = f"{self.format_url(text=self.group.qualified_short_id, url=group_url, provider=provider)}"
    context = {"author": name, "an issue": issue_name}
    context.update(params)
    return description.format(**context)