         title      = @props.project.get('title')
         host       = window.location.hostname
         target     = "[project '#{title}'](https://#{host}/projects/#{project_id})"
-        body       = "Hello!\n\nPlease collaborate with me using [CoCalc](https://#{host}) on #{target}.  \n\nBest wishes,\n\n#{name}"
+        SiteName   = redux.getStore('customize').get("site_name") ? SITE_NAME
+        body       = "Hello!\n\nPlease collaborate with me using [#{SiteName}](https://#{host}) on #{target}.  \n\nBest wishes,\n\n#{name}"
         @setState(email_to: @state.search, email_body: body)
 
     send_email_invite: ->
         replyto      = redux.getStore('account').get_email_address()
         replyto_name = redux.getStore('account').get_fullname()
+        SiteName   = redux.getStore('customize').get("site_name") ? SITE_NAME
         if replyto_name?
             subject = "#{replyto_name} added you to project #{@props.project.get('title')}"
         else
-            subject = "CoCalc Invitation to project #{@props.project.get('title')}"
+            subject = "#{SiteName} Invitation to project #{@props.project.get('title')}"
         @actions('projects').invite_collaborators_by_email(@props.project.get('project_id'),
                                                                          @state.email_to,
                                                                          @state.email_body,

{Icon, LabeledRow, Loading, MarkdownInput, SearchInput, ErrorDisplay, TimeAgoElement} = require('../r_misc')

{webapp_client}      = require('../webapp_client')

exports.AddCollaborators = rclass
    displayName : 'ProjectSettings-AddCollaborators'

        # project_id, account_id, body, subject, silent, replyto,  replyto_name
        replyto      = redux.getStore('account').get_email_address()
        replyto_name = redux.getStore('account').get_fullname()
        SiteName     = redux.getStore('customize').get("site_name") ? SITE_NAME
        if replyto_name?
            subject = "#{replyto_name} added you to #{SiteName} project #{@props.project.get('title')}"
        else
            subject = "You've been added to #{SiteName} project #{@props.project.get('title')}"
        @actions('projects').invite_collaborator(
            @props.project.get('project_id'),
            account_id,
