def METHOD_NAME(user):
    if live_settings.EMAIL_FROM_ADDRESS:
        return live_settings.EMAIL_FROM_ADDRESS
    if settings.LICENSE == settings.CLOUD_LICENSE_NAME:
        return "oncall@{}.grafana.net".format(user.organization.stack_slug)
    return live_settings.EMAIL_HOST_USER