# Bug COMMS-914 - Can't set OPENPROJECT_EMAILS__SALUTATION env variable

Project: Stream Communicator
Status: closed
URL: https://community.openproject.org/work_packages/COMMS-914

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Administration, Modules and project features / Email notifications |
| Target versions | 17.7.0 |
| Observed in versions | 17.5.0 |
| Sprint | Sprint 7 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.5.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Tom Hykel |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Configure `OPENPROJECT_EMAILS__SALUTATION=":name"`
    
2.  Restart OpenProject
    

### What is the buggy behavior?

*   You get an error in the logs:
    

```log
Jul 13 08:12:43 debian openproject-web-1.service[2023]: /opt/openproject/config/constants/settings/definition.rb:1489:in 'Settings::Definition#override_value': Value for emails_salutation must be one of firstname, name but is name (ArgumentError)
Jul 13 08:12:43 debian openproject-web-1.service[2023]:         raise ArgumentError, "Value for #{name} must be one of #{allowed.join(', ')} but is #{value}"
```

### What is the expected behavior?

1.  You should be able to configure the variable
    
    <br>
    

###
