Closed saulius closed 11 years ago
Btw, as @matthewford mentioned, how about we add date as prefix too, so that mails would be grouped by date in gmail. The subject line would look like this then: "[2013-01-31][warn][preview] Message text".
Adding a date sounds like a good idea.
I updated the pull request with dates and single method for mail prefix formatting.
As seen in whitehall app, it seems that environment name can be fetched from FACTER_govuk_platform environment variable.
In all the emails I get I see production which is not really correct, I would like to see preview/production.