# No email settings, only "Arguments -i"

**URL:** <https://meta.discourse.org/t/no-email-settings-only-arguments-i/57933>\
**Category:** Product Support\
**Created:** [February 25, 2017, 1:36am UTC](https://meta.discourse.org/t/no-email-settings-only-arguments-i/57933 "2017-02-25T01:36:57Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [February 27, 2017, 8:20am UTC](https://meta.discourse.org/t/no-email-settings-only-arguments-i/57933/9 "2017-02-27T08:20:03Z")

</div>

The issue is because of this line

```
## Plugins go here
env:
  SEGMENT_IO_KEY: XXXXXXX

```

You are **redefining** the “`env`” key (which is defined earlier) and thus all of the “`DISCOURSE_`” settings are gone…  
To fix it, you need to move the “`SEGMENT_IO_KEY`” under the “`#DISCOURSE_CDN_URL`” line, like so

```yaml
env:
  LANG: en_US.UTF-8
  # DISCOURSE_DEFAULT_LOCALE: en

  # [...]

  ## The CDN address for this Discourse instance (configured to pull)
  #DISCOURSE_CDN_URL: [REMOVED]

  SEGMENT_IO_KEY: XXXXXXX

## The Docker container is stateless; all data is stored in /shared
volumes:
  - volume:
      host: /var/discourse/shared/standalone
      guest: /shared
  - volume:
      host: /var/discourse/shared/standalone/log/var-log
      guest: /var/log

```

---

_[View the full topic](https://meta.discourse.org/t/no-email-settings-only-arguments-i/57933)._
